Apache 2 permissions problem?
I have been fiddling around with munin(a program to make graphs out of types of loads). So i installed it and everything is working. almost. I cant seem to get Apache to display the html pages. I have the Apache directory listing correct and I dont get a 404 not found. I get a 403 Acces Forbidden. Is this some sort of permissions problem with Apache? This is the logged error in Apache's log:
Code:
[Sun May 14 19:17:01 2006] [error] [client 192.168.1.80] client denied by server configuration: /srv/www/abit.mpa.com/web/monitoring |
You should do a chmod 777 on one of the html files just to see if it is a permissions problem. If that does work, then run chown -R <server user>:<server group> and chmod -R 755 on the directory that contains all the html files that you need.
|
nope. that doesn't work. BTW, user root does not own those files(nor www). It is owned by user munin from group munin. IOTW, munin:munin.
|
Then it can't be a permissions problem. Maybe you have a configuration issue. Perhaps you could post your httpd.conf.
|
ok. here it is.
Code:
# |
I can't find an issue with your configuration. I'll do some experimenting and figure something out.
|
I figured out the problem. I had overlapping Aliases in my config file.Thanks.
|
Just out of curiosity, where? I couldn't find them.
|
well, the Aliases were in another config file that Apache called. It was a global alias that said that anything under /srv/www/www.abit.mpa.com/ was given a path in apache. for example: /srv/www/www.abit.mpa.com/foobar/ would be given http://abit.mpa.com/foobar/. But i declared it again and apache complained. I still don't see why Apache wouldn't start because of it. You would think it would figure out something.
|
All times are GMT -5. The time now is 02:05 AM. |