View Single Post
  #5  
Old 15th February 2007, 23:10
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,266
Thanks: 82
Thanked 24 Times in 20 Posts
Default

I was just concerned about security, as this is a file uploading / sharing application, so I really wanted to use those directives inside a .htaccess file to turn php off for the uplaod folders...

btw. the rewrite stuff works inside the .htaccess its just these:

Quote:
# Disable php in userfiles directory (recommended!!!!)
# RemoveType php
# <IfModule mod_php4.c>
# php_flag engine 0
# </IfModule>

<IfModule mod_php5.c>
php_flag engine 0
</IfModule>

# GET requests only
<LimitExcept GET>
Order Allow,Deny
</LimitExcept>
that give me errors if I put them inside .htaccess files.

I'll try your advice tomorrow, going to bed now.
Reply With Quote