No access to webalizer

Problems with the Linux version of XAMPP, questions, comments, and anything related.

No access to webalizer

Postby T-362 » 06. January 2012 10:41

Access from internet (and localhost) to xampp admin page (by server's IP), phpmyadmin (through xampp page) and hosted website (domen through vhost) are ok, but webalizer blinks with info that log was created, and gives 404 after it. 404 on page http://my.ip.is.here/webalizer/ and "Please inform the author of that page about the error." with link to http://my.ip.is.here/webalizer.php . Security all are "SECURE", in Status - MySQL database, PHP, Perl, Common Gateway Interface (CGI), Server Side Includes (SSI) are "ACTIVATED".
T-362
 
Posts: 7
Joined: 06. January 2012 10:18
XAMPP Version: 5.6.3
Operating System: fedora-core-15-x86_64

Re: No access to webalizer

Postby JonB » 06. January 2012 22:50

Did you run (with su or sudo) '/opt/lampp/bin/webalizer' in term first??

Then use the XAMPP page or http://localhost/webalizer/index.html to access the report.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: No access to webalizer

Postby T-362 » 09. January 2012 09:55

Webalizer V2.21-02 (Linux 2.6.32-028stab093.2 x86_64) English
Using logfile /opt/lampp/logs/access_log (clf)
Creating output in /opt/lampp/htdocs/webalizer
Hostname for reports is 'gn141.zone.eu'
Reading history file... webalizer.hist
Generating report for December 2011
Generating report for January 2012
Saving history information...
Generating summary report
576 records in 1 seconds, 576/sec

And 404 from localhost and web, same result with and without sudo. But report was created (new files in htdocs/webalizer).
T-362
 
Posts: 7
Joined: 06. January 2012 10:18
XAMPP Version: 5.6.3
Operating System: fedora-core-15-x86_64

Re: No access to webalizer

Postby JonB » 09. January 2012 14:51

OK

I'm going to 'guess' what is wrong at this point -

Check the ownership of the generated files in /opt/lampp/htdocs/webalizer. I'm betting they are owned by root:root, and that is likely the source (just a hunch) While you are at it, it would be good to check the permissions as well - probably 'should be' 644.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: No access to webalizer

Postby T-362 » 09. January 2012 16:31

It was 99:99, but same result with 0:0, permissions are 644
T-362
 
Posts: 7
Joined: 06. January 2012 10:18
XAMPP Version: 5.6.3
Operating System: fedora-core-15-x86_64

Re: No access to webalizer

Postby JonB » 09. January 2012 16:59

It was 99:99, but same result with 0:0


that is uninformative to me (other than 0:0) , as unix user/groups by number are specific to an installation (they are ordinals).

http://en.wikipedia.org/wiki/User_identifier

1st - Try to change the ownership to nobody:root and see if that fixes the issue. (although if the permissions are 644, a webuser 'should' be able to read the files)

Other possibilities, there is an .htaccess file in the root of htdocs or in the .htdocs/webalizer folder, that changes the URL or denies the permissions.

OR - an Alias or a symbolic link to webalizer that points to a different location.

OR - try removing 'webalizer' from the LocationMatch directive in /opt/lampp/etc/extra/httpd-xampp.conf (this would be a by product of either 'security fix' or changes to the IP ranges)

one last thing I thought about - what is your SE Linux policy???

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: No access to webalizer

Postby T-362 » 11. January 2012 09:56

Nothing, still 404. Where i can find info about SE Linux policy? (i have almost no experience in fedora :( )
T-362
 
Posts: 7
Joined: 06. January 2012 10:18
XAMPP Version: 5.6.3
Operating System: fedora-core-15-x86_64

Re: No access to webalizer

Postby JonB » 14. January 2012 19:54

Hi - Sorry about delay

A. - at this point, I doubt its an SE Linux issue, but I have links and an explanation in this topic -

B. - I am stumped at the moment on what is wrong, but I do have an idea or two.

Couple things that could be done to see what might be wrong:

Create a simple redirect page in a different folder under htdocs that points to the URL of /htdocs/webalizer/index.html, see if that draws the same error.

Look in the Apache access_log and error_log to see if they provide more detailed information. They are in /opt/lampp/logs

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests