View Single Post
Old 13th November 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

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.)
__________________
Kill your t.v.

Last edited by anomie; 13th November 2008 at 02:17 AM. Reason: clarified allow directive.
Reply With Quote