Afficher un message
Vieux 03/10/2006, 07h45   #3
Manish Runwal
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Parsing PHP without file extension

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/


  Réponse avec citation
 
Page generated in 0,05346 seconds with 9 queries