htaccess not found
- by clarkk
I have installed a Apache 2 (from webmin) server on Debian 6..
I have setup a virtual host db.domain.com on the server which works fine, but .htaccess doesn't work if you get access from the ip address and the directory is listed if no index.php is found?
db.domain.com -> 403 forbidden
xxx.xxx.xxx.xxx -> gets access to the server
Why is .htaccess omitted when you get access from the servers ip address?
httpd.conf
<Directory *>
Options -Indexes FollowSymLinks
</Directory>
<VirtualHost *:80>
ServerName db.domain.com
DocumentRoot /var/www
</VirtualHost>
htaccess
order deny,allow
deny from all