Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-25-2013, 02:09 PM #1
- Join Date
- Aug 2012
- Thanked 0 Times in 0 Posts
Using .htaccess to enable php/html
All I'm trying to do is enable my site to utilize php include to duplicate various <div>s on multiple pages (such as navigation), while retaining the .html suffix on said pages.
Here is my current .htaccess file (from root directory, where all my pages are). I have substituted the word "domain" where applicable:
# -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName domain.com AuthUserFile /home/domain/public_html/_vti_pvt/service.pwd AuthGroupFile /home/domain/public_html/_vti_pvt/service.grp
AddType application/x-httpd-php .html .htm
Any help appreciated.
Ace in PA.