#1  
Old 14th November 2010, 23:02
swordsaint swordsaint is offline
Member
 
Join Date: Oct 2006
Posts: 36
Thanks: 9
Thanked 0 Times in 0 Posts
Exclamation Stats 404 Error

When I added a password to my stats for my site i get a 404 error.
Reply With Quote
Sponsored Links
  #2  
Old 15th November 2010, 01:52
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Stats are only created once a day, what is the output of:

Code:
# ls -la /var/www/yourdomain.com/web/stats
Reply With Quote
  #3  
Old 15th November 2010, 04:32
swordsaint swordsaint is offline
Member
 
Join Date: Oct 2006
Posts: 36
Thanks: 9
Thanked 0 Times in 0 Posts
Default

root@web1:/var/www/dial4tech.com# ls -la /var/www/dial4tech.com/web/stats
total 164
drwxr-xr-x 2 web11 client1 4096 2010-11-14 13:34 .
drwxr-xr-x 19 web11 client1 4096 2010-11-13 00:30 ..
-rw-r--r-- 1 web11 client1 3051 2010-11-14 00:30 ctry_usage_201011.png
-rw-r--r-- 1 web11 client1 2873 2010-11-14 00:30 daily_usage_201011.png
-rw-r--r-- 1 web11 client1 1905 2010-11-14 00:30 hourly_usage_201011.png
-rwxr-xr-x 1 web11 client1 117 2010-11-14 13:34 .htaccess
-rw-r--r-- 1 web11 client1 4114 2010-11-14 00:30 index.html
-rw-r--r-- 1 web11 client1 101762 2010-11-14 00:30 usage_201011.html
-rw-r--r-- 1 web11 client1 2312 2010-11-14 00:30 usage.png
-rw-r--r-- 1 web11 client1 17088 2010-11-14 00:30 webalizer.current
-rw-r--r-- 1 web11 client1 40 2010-11-14 00:30 webalizer.hist
Reply With Quote
  #4  
Old 15th November 2010, 05:53
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Hmm that seems fine to me.

Any errors in the apache log?
__________________
Best regards

Jim
Reply With Quote
  #5  
Old 17th November 2010, 09:01
swordsaint swordsaint is offline
Member
 
Join Date: Oct 2006
Posts: 36
Thanks: 9
Thanked 0 Times in 0 Posts
Default

Just this,

[Fri Nov 12 17:17:09 2010] [error] [client 97.74.202.111] File does not exist: /var/www/clients/client1/web11/web/user
[Sun Nov 14 00:56:13 2010] [error] [client 194.54.81.102] Invalid URI in request GET HTTP/1.1 HTTP/1.1
[Sun Nov 14 07:26:06 2010] [error] [client 188.165.214.146] File does not exist: /var/www/clients/client1/web11/web/w00tw00t.at.blackhats.romanian.anti-sec
[Sun Nov 14 07:55:35 2010] [error] [client 222.186.26.88] script not found or unable to stat: /var/www/clients/client1/web11/cgi-bin/textenv.pl
[Mon Nov 15 10:52:57 2010] [error] [client 88.191.64.28] File does not exist: /var/www/clients/client1/web11/web/w00tw00t.at.blackhats.romanian.anti-sec
[Mon Nov 15 18:14:30 2010] [error] [client 38.100.41.67] File does not exist: /var/www/clients/client1/web11/web/component, referer: http://www.dial4tech.com/component/p...rsonal-browser
[Mon Nov 15 20:21:12 2010] [error] [client 122.70.185.117] File does not exist: /var/www/clients/client1/web11/web/includes/general.js
[Mon Nov 15 20:21:13 2010] [error] [client 122.70.185.117] File does not exist: /var/www/clients/client1/web11/web/zencart
[Mon Nov 15 20:21:14 2010] [error] [client 122.70.185.117] File does not exist: /var/www/clients/client1/web11/web/admin
[Mon Nov 15 20:21:15 2010] [error] [client 122.70.185.117] File does not exist: /var/www/clients/client1/web11/web/zen
[Mon Nov 15 20:21:16 2010] [error] [client 122.70.185.117] File does not exist: /var/www/clients/client1/web11/web/cart
[Mon Nov 15 20:21:17 2010] [error] [client 122.70.185.117] File does not exist: /var/www/clients/client1/web11/web/ZenCart
[Tue Nov 16 05:50:20 2010] [error] [client 38.100.21.238] File does not exist: /var/www/clients/client1/web11/web/component
Reply With Quote
  #6  
Old 17th November 2010, 11:19
willko willko is offline
Junior Member
 
Join Date: Aug 2010
Posts: 9
Thanks: 1
Thanked 4 Times in 2 Posts
Default

Maybe this will help...?

Error message:
Quote:
Forbidden
You don't have permission to access /stats/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
POSSSIBLE SOLUTION - 2 Parts - seems to work

1 - If a site has "Apache Directive" directory overide for default files, make sure index.html is listed as well as the home page file.

2 - .htaccess files need execute permissions for directory search
Reply With Quote
  #7  
Old 19th November 2010, 08:23
swordsaint swordsaint is offline
Member
 
Join Date: Oct 2006
Posts: 36
Thanks: 9
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by willko View Post
Maybe this will help...?

Error message:


POSSSIBLE SOLUTION - 2 Parts - seems to work

1 - If a site has "Apache Directive" directory overide for default files, make sure index.html is listed as well as the home page file.

2 - .htaccess files need execute permissions for directory search
I made the .htaccess file executable but its not working still.

I dont have any override directives. I us joomla and have sef urls and mod_rewrite enabled but i dont think thats the problem.
Reply With Quote
  #8  
Old 19th November 2010, 18:23
willko willko is offline
Junior Member
 
Join Date: Aug 2010
Posts: 9
Thanks: 1
Thanked 4 Times in 2 Posts
Default

What about the ownership? I use joomla as well with ISPC3 and the ownership should something like root:clientX (where X is the appropriate client number).

So for instance,

Code:
find . -type f -name ".htaccess" -exec chown -hR -v -f root:client8 {} \;
Make sure you run this from the terminal of the directory CONTAINING the "/web" - e.g. "/var/www/clients/client8/web18" - so terminal prompt reads "[root@host web18]" for example
Also make sure the CLIENT is correct before pasting this script!

then the permissions can be set with,
Code:
find . -type f -name ".htaccess" -exec chmod 755 {} \;
again, make sure you run it as above, i.e. in the right directory!
Reply With Quote
  #9  
Old 23rd November 2010, 01:23
swordsaint swordsaint is offline
Member
 
Join Date: Oct 2006
Posts: 36
Thanks: 9
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by willko View Post
What about the ownership? I use joomla as well with ISPC3 and the ownership should something like root:clientX (where X is the appropriate client number).

So for instance,

Code:
find . -type f -name ".htaccess" -exec chown -hR -v -f root:client8 {} \;
Make sure you run this from the terminal of the directory CONTAINING the "/web" - e.g. "/var/www/clients/client8/web18" - so terminal prompt reads "[root@host web18]" for example
Also make sure the CLIENT is correct before pasting this script!

then the permissions can be set with,
Code:
find . -type f -name ".htaccess" -exec chmod 755 {} \;
again, make sure you run it as above, i.e. in the right directory!
I have suphp enabled isn't it supposed to be web8:client8?
Reply With Quote
  #10  
Old 24th November 2010, 01:46
swordsaint swordsaint is offline
Member
 
Join Date: Oct 2006
Posts: 36
Thanks: 9
Thanked 0 Times in 0 Posts
 
Default

I tried it but its still not working.

Last edited by swordsaint; 24th November 2010 at 01:51.
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 send/recieve email postfix/smtpd archbird Installation/Configuration 6 8th November 2010 14:48
Need help setting up domainpop with postfix kameelperdza Installation/Configuration 6 15th June 2009 07:49
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
Problem installing ISPConfig on Suse10.1 nliebherr Installation/Configuration 18 14th September 2007 00:30
log files cruz Technical 3 15th May 2007 14:35


All times are GMT +2. The time now is 09:42.


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