.htaccess: ForceType application/x-httpd-php not working - 01/05/2004 12:22 AM
I've added these lines to my .htaccess file:
<Files blah>
ForceType application/x-httpd-php
</Files>
It does not work. The php-file "blah" is sent to the browser as plain text. I know there's a setting in the httpd.conf "AllowOverride", which has to be set to "All". But I'm on a shared server, so I do not have access to the httpd.conf.
Is there any other way to force a file type to be treated as php script?
<Files blah>
ForceType application/x-httpd-php
</Files>
It does not work. The php-file "blah" is sent to the browser as plain text. I know there's a setting in the httpd.conf "AllowOverride", which has to be set to "All". But I'm on a shared server, so I do not have access to the httpd.conf.
Is there any other way to force a file type to be treated as php script?