Block folder access, but not PHP include's access
Posted: Sun Apr 15, 2007 2:54 pm
How can I edit the .htaccess file to block access to http://site.com/config/... tried putting this in the .htaccess file, but i get a 500 error on all pages on the site:
What can i do to block (client-side) access to the config folder (and allow PHP in there still)?
Code: Select all
<Directory /home/config/>
Order Deny,Allow
Deny from all
</Directory>