Pages

July 2010
M T W T F S S
« May    
 1234
567891011
12131415161718
19202122232425
262728293031  

modify .htaccess to include php script in html file

To include php script in html file (.htm, .html) , you would need to modify the .htaccess file located in your server.
Here is what you need to append ( the text in BOLD below).
# -FrontPage-
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthUserFile /home6/peopleo3/public_html/_vti_pvt/service.pwd
AuthGroupFile /home6/peopleo3/public_html/_vti_pvt/service.grp
RewriteEngine on
RewriteCond ${LeechProtect:/home6/peopleo3/public_html:%{REMOTE_USER}:%{REMOTE_ADDR}:4} leech
RewriteRule .* /
IndexIgnore .htaccess [...]

Share and Enjoy:
  • Digg
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • blogmarks
  • MySpace