Entry
How do I set an apache server to run a php file with an html extension or no extension?
How do i use single extension like .html for multiple AddType in Apache e.g. .html file for server-p
How do i use single extension like .html for multiple AddType in Apache e.g. .html file for server-p
How do i use single extension like .html for multiple AddType in Apache e.g. .html file for server-p
Mar 24th, 2000 02:03
Mark Kronsbein, Tom Melendez, Vince Bird, unknown unknown, Ani Raj,
For no extension use this:
Only one File
<Files "foo">
ForceType application/x-httpd-php3
</Files>
or for all Files
ForceType application/x-httpd-php3
Add these Lines to .htaccess or httpd.conf
To have it parse files with any extension (including html) edit the
following line of the srm.conf file or the .htaccess in apache to say
something like this:
AddType application/x-httpd-php3 .php3 .html .htm