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 8th July 2009, 13:16
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default stats makes: Error: forbidden by Options directive

After login in the stats folder no stats are shown but this error in error.log
Code:
[Wed Jul 08 12:44:37 2009] [error] [client1.2.3.4] Directory index forbidden by Options directive:
Any Ideas why? It's a fresch ISPConfig installation and the webalizer files are produced in the stats folder. All stats folders are owned by root. This was differend in ISPConfig 2.

Last edited by tom; 8th July 2009 at 13:50.
Reply With Quote
Sponsored Links
  #2  
Old 8th July 2009, 14:22
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

It's a fresh install, so it could be that there are no stats files in that dir yet, thus the servers wants to show the dir contents in a list (dirlisting) which is not allowed .. so i'd say you're stats dir is empty and you've to wait until the cronjob creates the first stats for you
Reply With Quote
  #3  
Old 8th July 2009, 14:45
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

weblizer files are already in the stats folder. It's a some days old fresh installation :-)
Reply With Quote
  #4  
Old 8th July 2009, 15:57
dzudzu dzudzu is offline
Member
 
Join Date: Jun 2009
Location: Serbia
Posts: 64
Thanks: 1
Thanked 6 Times in 6 Posts
Default

if i get you right u have files like these in /stats folder in root of site? What files u got there and with what permissions?

[root@eontek stats]# ls -l
total 212
1 root root 3167 Jul 1 00:30 ctry_usage_200906.png
1 root root 3739 Jul 8 00:30 ctry_usage_200907.png
1 root root 3026 Jul 1 00:30 daily_usage_200906.png
1 root root 2870 Jul 8 00:30 daily_usage_200907.png
1 root root 1896 Jul 1 00:30 hourly_usage_200906.png
1 root root 1937 Jul 8 00:30 hourly_usage_200907.png
1 root root 4279 Jul 8 00:30 index.html
1 root root 88922 Jul 1 00:30 usage_200906.html
1 root root 78994 Jul 8 00:30 usage_200907.html
1 root root 2335 Jul 8 00:30 usage.png

and what comes up in browser when u go site.com/stats ?
__________________
EonTek.rs - System Engineering

dzudzu
Reply With Quote
  #5  
Old 8th July 2009, 18:44
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

The permissions are as yours
Quote:
Originally Posted by dzudzu View Post
...
[root@eontek stats]# ls -l
total 212
1 root root 3167 Jul 1 00:30 ctry_usage_200906.png
1 root root 3739 Jul 8 00:30 ctry_usage_200907.png
1 root root 3026 Jul 1 00:30 daily_usage_200906.png
1 root root 2870 Jul 8 00:30 daily_usage_200907.png
1 root root 1896 Jul 1 00:30 hourly_usage_200906.png
1 root root 1937 Jul 8 00:30 hourly_usage_200907.png
1 root root 4279 Jul 8 00:30 index.html
1 root root 88922 Jul 1 00:30 usage_200906.html
1 root root 78994 Jul 8 00:30 usage_200907.html
1 root root 2335 Jul 8 00:30 usage.png

and what comes up in browser when u go site.com/stats ?
Error 403
Reply With Quote
  #6  
Old 8th July 2009, 19:19
dzudzu dzudzu is offline
Member
 
Join Date: Jun 2009
Location: Serbia
Posts: 64
Thanks: 1
Thanked 6 Times in 6 Posts
 
Default

u might try to make another folder with index file in it and see does it load it up? I would check .htaccess files and .vhost files becouse something is maybe geting override. U might want to try also to change site info in ispconfig so it remakes the .vhost file or try adding the

<Directory "/path/to/dir">
Options Indexes FollowSymLinks
</Directory>

or try with this command

DirectoryIndex index.html

to force loading of that file before listing directory.

Hope it helps
__________________
EonTek.rs - System Engineering

dzudzu
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
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Strange "client" [ ::1] causing "Directory Index Forbidden by Options Directive" Err bpmee Server Operation 19 17th June 2008 16:01
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
Can't start apache Musty Server Operation 12 9th March 2008 13:58


All times are GMT +2. The time now is 15:05.


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