Chris1 Posted May 8, 2013 Share Posted May 8, 2013 I set up the .htaccess file on the root of my server to allow html files to be processed as php, like so: AddHandler application/x-httpd-php5 .html .htm However, I have a subdirectory that allows certain registered users to upload custom html docs. How can I override the .htaccess file on just this subdirectory to stop html from being processed as php? Quote Link to comment Share on other sites More sharing options...
Solution Chris1 Posted May 8, 2013 Author Solution Share Posted May 8, 2013 nevermind - I figured it out. Just created a .htaccess file in the subfolder with this line: AddHandler text/html .html .htm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.