Page 1 of 1

ForceType works on host server, not local server

Posted: Tue May 06, 2003 11:14 pm
by phice
I've got a .htaccess command:
<Files "read">
ForceType application/x-httpd-php
</Files>
Both .htaccess and the file 'read' are the exact same for the local and host server. But, the ForceType command only works on the host's server, yet mine comes up as an HTML document.

Posted: Wed May 07, 2003 9:29 am
by volka
maybe your .htaccess is not allowed to override httpd.conf settings
http://httpd.apache.org/docs-2.0/mod/co ... owoverride

http://httpd.apache.org/docs-2.0/mod/core.html#forcetype
Syntax: ForceType MIME-Type|None
Context: directory, .htaccess
AllowOverride: FileInfo