PDA

View Full Version : BASE for Snort HTTP Access Forbidden


NIX-Knight
January 29th, 2009, 20:54
I installed BASE through ports and then installed snort. I edited httpd.conf and added this line at the bottom:
Alias /base/ "/usr/local/www/base/"
and restarted
apachectl restart
After that I invoked this comand to make www the owner of BASE directory:
chown -R www:www /usr/local/www/base/
When I try to open http://192.168.15.4/base/ in the browser it says:
Forbidden

You don't have permission to access /base/ on this server.

Can anyone help on this?

NIX-Knight
January 30th, 2009, 05:56
anyone?

SirDice
January 30th, 2009, 09:32
You need to set DirectoryIndex to the proper starting point for BASE. It can't find index.html so it tries the "folder view" for which you don't have permission.

NIX-Knight
January 30th, 2009, 14:41
Solved.

removed Alias line from httpd.conf and created symlinks to BASE and ADODB in apache DocumentRoot.

Now everything works. :D