FRESH FC5 INSTALL APACHE PROBLEM.locahost not permitted

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

FRESH FC5 INSTALL APACHE PROBLEM.locahost not permitted

Post by hermatize »

fresh install and i get

denied access error....is there another confi file other then httpd.conf that i need to edit.

i a have selinux installed
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

i should have added when i try to login VIA the localhost at

http://localhost/cacti
ptera
Posts: 14
Joined: Mon Jul 24, 2006 2:39 pm

Post by ptera »

I just went through that - it was allow.deny directive - I think it was for the cacti directory - mine said deny all.
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

any idea what file?
ptera
Posts: 14
Joined: Mon Jul 24, 2006 2:39 pm

Post by ptera »

httpd.conf - I use webmin so I get to it differently
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

na didnt do the trick i recall a while back on a fresh install of FC4 there was some conf file that needed to be allowed and by default it actually blocked the localhost.......anyone know what im talkin about
x2c
Posts: 15
Joined: Wed Jul 19, 2006 7:35 pm

Post by x2c »

hermatize wrote:na didnt do the trick i recall a while back on a fresh install of FC4 there was some conf file that needed to be allowed and by default it actually blocked the localhost.......anyone know what im talkin about
have you found this file because i think i have a smiliar issue.
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

No i havent please let me know if you do. I will do the same.

Thanks !!
tadavis
Posts: 16
Joined: Thu Apr 06, 2006 1:38 pm

Post by tadavis »

I just had this problem. This solution is based on using the Fedora core 5 cacti RPM. If you don't have it, then this may not work for you.

I edited /etc/httpd/conf.d/cacti.conf, and added the line:

allow from ::1

inbetween the lines:

deny from all
allow from 127.0.0.1

giving:

deny from all
allow from ::1
allow from 127.0.0.1

saving the changes, and then doing '/etc/init.d/httpd reload'

and it worked.

The reason it is denying you, is it using IPV6, and this is the IPV6 localhost address.

You'll see the deny message in /var/log/httpd/error_log.
hermatize
Cacti User
Posts: 55
Joined: Wed Aug 10, 2005 6:29 pm

Post by hermatize »

Thanks man that was it
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests