#1  
Old 11th September 2009, 20:28
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default Can't access stats

I've seen others asking this, but none of the solutions seem to work for me. I'm running a Drupal site, and I did make a stats password. When I go to the /stats directory I get a 403 error. The log says:
Code:
Directory index forbidden by Options directive
.

If I bypass the permissions in the apache conf file, opening up the directory for all to see:
Code:
    <Directory /var/www/www.domainame.com/web/stats/>
        Options Indexes FollowSymLinks
        AllowOverride None
    </Directory>
I can get to the stats pages. The look fine, and are updating as expected. All the permissions are set correctly too. What else do I need to do?
Reply With Quote
Sponsored Links
  #2  
Old 13th September 2009, 13:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,811
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

Does accessing the stats directory work if you remove the drupal .htaccess file? if yes, you will have to find out which of the directives in the drupal file prevents the access to the stats directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th September 2009, 19:42
wxman wxman is offline
Senior Member
 
Join Date: May 2007
Posts: 189
Thanks: 11
Thanked 2 Times in 2 Posts
Default

Even with the .htaccess file intact, I'm at least now getting a username/password request when I try to get in. The problem now is it shows me the directory structure instead of going to the index page.
Reply With Quote
  #4  
Old 14th September 2009, 12:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,811
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

And you are sure that you removed the complete joomla .htaccess file as it might define a different DirectoryIndex then the default one? If yes, then then check your apache2.conf or httpd.conf file that the DirectoryIndex directive contains index.htm and index.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th October 2010, 01:34
juan_g juan_g is offline
Junior Member
 
Join Date: Sep 2010
Posts: 19
Thanks: 7
Thanked 1 Time in 1 Post
 
Default

Quote:
Originally Posted by till View Post
check your apache2.conf or httpd.conf file that the DirectoryIndex directive contains index.htm and index.html
Or editing this line of Drupal's web/.htaccess

Code:
DirectoryIndex index.php
to

Code:
DirectoryIndex index.php index.html index.htm
Other possibility is to add a similar line to web/stats/.htaccess
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
Can't access Webalizer stats davestyle General 1 22nd April 2009 00:36
I can't access stats nandelbosc Installation/Configuration 2 11th February 2009 08:47
vbulletin with vbseo... cant access stats gjcomputer General 3 11th May 2008 21:53
ERROR: The PHP binary coming with ISPConfig does not work properly on your system W1SKCC Installation/Configuration 2 2nd February 2007 13:55
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 13:44.


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