Quote:
Originally Posted by lalebarde
But I still have the same access forbidden message from my browser.
Though in <Directory "/var/www/htdocs">, I have put :
Order deny,allow
Deny from all
Allow from 192.168.2.11
|
I'm not familiar with OBSD's standard Apache web server config; is /var/www/htdocs also your DocumentRoot?
Check filesystem permissions for /var/www/htdocs and any file it contains. Does the user httpd is running as have read access to them?
Also, add another allow line below the one you have, because it looks like you're browsing the web server from itself. Change to:
Code:
Order deny,allow
Deny from all
Allow from 192.168.2.11
Allow from 127.0.0.1
Finally, there are some other directives that could cause permission to be denied. (But we won't worry about those for now.)