Current time: 11-26-2024, 06:31 AM Hello There, Guest! (LoginRegister)


Post Reply 
problem parsing html as php with .htaccess
Author Message
HarryPW Offline


Posts: 2
Joined: Jan 2009
Reputation: 0
Post: #3
RE: problem parsing html as php with .htaccess
No errors today in the Apache log concerning php or htaccess (only about ispCP and Horde)

This is the .htaccess file I want to use
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
ErrorDocument 404 /error404.html

I also changed
AddType application/x-httpd-php .php .htm .html
into
AddHandler php-fastcgi .html

still didn't work.
It looks like a .htaccess file can't be used in the domainroot.

WR
Harry
01-14-2009 09:18 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: problem parsing html as php with .htaccess - HarryPW - 01-14-2009 09:18 PM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)