Add following in httpd.conf
<FilesMatch "^([^\.]+)$">
ForceType application/x-httpd-php
</FilesMatch>
patpro ~ patrick proniewski wrote:
> In article <1159749296.314731.57190@i42g2000cwa.googlegroups. com>,
> musiccomposition@gmail.com wrote:
>
> > Hello I am using PHP as an module. Right now I have this AddType
> > directive:
> > AddType application-x-php .php
> > How do I configure Apache to parse PHP without a file extension. For
> > example, if I have a PHP file named foo (without a file extension) how
> > do I get Apache to parse it as such?
>
> you might want to give a try to DefaultType directive.
>
> patpro
>
> --
> http://www.patpro.net/