Znupi
04-19-2007, 06:10 PM
I'm using Apache 2.2 and trying to deny access to a folder using the <Directory> directive in a .htaccess file. I'm using:
<Directory "K:/htdocs/site/download">
Order Deny,Allow
Deny from All
</Directory>
The problem is, it doesn't work from the .htaccess file (which is placed in the "K:/htdocs/site" directory), the server gives a 500 error, but it works if I put it in the httpd.conf file. Why?
<Directory "K:/htdocs/site/download">
Order Deny,Allow
Deny from All
</Directory>
The problem is, it doesn't work from the .htaccess file (which is placed in the "K:/htdocs/site" directory), the server gives a 500 error, but it works if I put it in the httpd.conf file. Why?