View Full Version : apache 2.0.49
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?
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?
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
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?
16th June 2004, 03:04 AM
Try editing /etc/httpd/conf.d/webalizer.conf to set access for hosts. Should work a peach.
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.
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...
17th June 2004, 08:12 PM
For all of those that have helped me with this issue, thank you very much! It has finally come together. It works!!!
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
It's pretty easy to setup and nice for analyzing your web logs. ;)
22nd June 2004, 07:02 AM
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.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.