View Full Version : apache 2.0.49
robghealey
13th June 2004, 04:10 PM
web statistics using /usage
in Fedora core 1, I was able to access this directory from my domain name and see my site statistics. After installing FC2, I can no longer see this directory from inside my lan or outside. I also can't access my site using my domain name from within my lan, but can from outside it.
Please take a look at http://tux-linux.no-ip.org/usage to see what I am talking about...
any help would be appreciated?
Thanks,
Rob
fjleal
14th June 2004, 11:07 AM
Seems like a permissions problem. How are that directory's permissions set?
EDIT: Are you using Webaliser? How about .../usage/index.html?
ewdi
14th June 2004, 12:31 PM
yeah, you need to either add it to a group where httpd are allow to access them or chmod them
robghealey
14th June 2004, 06:10 PM
The permissions are set as drwxr-xr-x webalizer apache usage
Is this ok or what do I change it to?
Sincerely,
Rob
blammo
16th June 2004, 03:04 AM
Try editing /etc/httpd/conf.d/webalizer.conf to set access for hosts. Should work a peach.
Jman
16th June 2004, 04:01 AM
Edit webalizer.conf like blammo mentioned. The Location entry has some Allow and Deny directives. Who do you want to let in? If you want everyone to see it with no restrictions, only put Allow from all. Or you can put Allow from domain name.
Lines commented out with a # at the beginning are ignored. Experiment until you allow who you want in. This Allow Deny stuff works for all Location directives in your Apache configuration.
robghealey
16th June 2004, 08:28 PM
I will edit /etc/httpd/conf.d/webalizer.conf once I get up again in the morning. Thanks for all of the help, and I will let everyone know how it goes...
Thanks,
Rob
robghealey
17th June 2004, 08:12 PM
Greetings Everyone:
For all of those that have helped me with this issue, thank you very much! It has finally come together. It works!!!
Thanks,
Rob
jeru
20th June 2004, 10:02 AM
Good to hear you got it working;
I'll just throw this in there for you if you ever get bored
http://awstats.sf.net
It's pretty easy to setup and nice for analyzing your web logs. ;)
robghealey
22nd June 2004, 07:02 AM
Dear Jeru:
Thanks for the information on awstats. I am downloading the package now and will be setting it up shortly. I have used it in the past, and forget about it when I reloaded or tried a different distro.
The key to fixing my problem was the /etc/httpd/conf.d/webalizer.conf file. I had to change the allow from all section.
Thanks,
Rob
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.