Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th January 2014, 13:47
g00s3m4n g00s3m4n is offline
Junior Member
 
Join Date: Jan 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation AWStats (/stats/) authentication prompts

Hi All,

I've been using ISPConfig for a few months now and absolutely love it. I have one small little issue and I hope someone would be able to help me out.

I am running ISPConfig 3.0.5.3 Ubuntu 13.04.

I have a wordpress site running and have enabled AWStats and set a password for the 'admin' users. When I visit www.mysite.com/stats I receive a authentication popup saying "Members Only". When I authenticate using the admin account and my password it appears to load all the text on the page but I then receive another authentication popup saying "Restricted Access Only!!" and this one does not accept my credentials.

I'm pretty sure its a permission issue when accessing the image/icon files but I am unsure what the permissions should be. The icons appear to be stored in /usr/share/awstats/icon/ and they are all chmod 644 and chown root:root at the moment.

Any advice would be greatly appreciated.

Thanks,

g
Reply With Quote
Sponsored Links
  #2  
Old 17th January 2014, 13:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

It might be that the wordpess .htaccess file interferes with the stats folder. Please try to rename the .htaccess file in the web folder for a moment (the one from wordpress) e.g. to .htaccess_bak and then try to access the stats folder. If its works, then we know in which direction to search for the issue.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th January 2014, 14:44
g00s3m4n g00s3m4n is offline
Junior Member
 
Join Date: Jan 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for the quick response.

I tried renaming the .htaccess and that doesn't seem to make a difference.

Interestingly though, If I look at the location for one of the images that does not load it had a path of http://www.mysite.com/awstats-icon/o...tats_logo6.png

If I paste that into a new browser window I get the "Restricted Access Only!!" authentication prompt and I found that entering my Ubuntu credentials (the ones I ssh into the server with) here works and I am able to display the images.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SASL LOGIN authentication failed Captain Installation/Configuration 4 13th March 2012 21:07
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 01:15
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 03:29
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 16:18
Mail server attack princebenin Server Operation 1 19th November 2007 15:02


All times are GMT +2. The time now is 21:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.