Why does Apache ignore my Directory block?
- by Codemonkey
I just moved my projects into a new workstation. I'm having trouble getting my Apache installation to acknowledge my .htaccess files. This is my /etc/apache2/conf.d/dev config file:
<Directory /home/codemonkey/dev/myproject/>
Options -Indexes
AllowOverride All
Order Allow,Deny
Deny from all
</Directory>
I know the config file is being included by Apache because it complains if I put erroneous syntax in it (Action 'configtest' fails).
My project is reachable through Apache by a symlink in the /var/www directory. The server is running with my user and group, so it has my permissions. My entire dev folder has permissions set to 770 recursively.
Despite all this, I'm still getting an indexed display of my project folder when I visit http://localhost/myproject. Why isn't the above config making it impossible to view the folder in the browser?