hi,
recently i was able to disable PHP in some folders by adding below lines in httpd.conf file
<Directory "/var/www/html/wap/xhtml">
php_admin_flag engine off
</Directory>
now i'm facing new problem.
when i access xhtml files in the PHP disabled folders, instead of loading the page it downloads
so in some browsers get the error as cannot download this file
what can i do to avoid this and enable xhtml in those folders
pls help
XHTML not workin
Moderator: General Moderators
Re: XHTML not workin
Probably the handler for .html is php
You should change the handler. Of if the XHTML pages are with .php extension - change the extension...
You should change the handler. Of if the XHTML pages are with .php extension - change the extension...
-
asela_05085
- Forum Newbie
- Posts: 16
- Joined: Mon Aug 31, 2009 10:33 pm
Re: XHTML not workin
i have sorted the below issue by adding the below line in httpd.conf folder
AddType application/xhtml+xml .xhtml

AddType application/xhtml+xml .xhtml