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 April 2009, 01:57
a02460 a02460 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 404 Error on only 1 site when accessing stats

I've got a weird issue here ... i've a total of 3 sites on the machine and 2 of them works fine (website and stats work fine). One of them gives a 404 error when trying to access stats but has no issue with the website, I've checked the stats directory and all the files are there, what gives? Please help.
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2009, 02:13
archerjd archerjd is offline
Member
 
Join Date: Dec 2006
Posts: 66
Thanks: 6
Thanked 6 Times in 6 Posts
Default

What is in the error.log file under the site's log folder?
__________________
The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.

-- Doctor Who, "Face of Evil"
Reply With Quote
  #3  
Old 8th April 2009, 02:19
a02460 a02460 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The error.log didn't show any error except that the /web/favicon.ico cannot be found (I deleted the default index.html file and the ico file). The actual site itself works ... that's the funny thing .. dns is pointed correctly ...
Reply With Quote
  #4  
Old 8th April 2009, 02:32
archerjd archerjd is offline
Member
 
Join Date: Dec 2006
Posts: 66
Thanks: 6
Thanked 6 Times in 6 Posts
Default

Does the stats directory have the correct permissions?
It should look like this drwxr-xr-x
__________________
The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.

-- Doctor Who, "Face of Evil"
Reply With Quote
  #5  
Old 8th April 2009, 04:26
a02460 a02460 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by archerjd View Post
Does the stats directory have the correct permissions?
It should look like this drwxr-xr-x
Yup the permissions are all correct including the files within the stats directory. It seems that it is access the web directory correctly but when it comes to the stats directory it is going somewhere else ... but i dunno where. The other 2 domain doesn't do that this domain that has the issue so happens to be the same domain as the server has. Is there some config i missed out on?
Reply With Quote
  #6  
Old 8th April 2009, 04:36
a02460 a02460 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by a02460 View Post
Yup the permissions are all correct including the files within the stats directory. It seems that it is access the web directory correctly but when it comes to the stats directory it is going somewhere else ... but i dunno where. The other 2 domain doesn't do that this domain that has the issue so happens to be the same domain as the server has. Is there some config i missed out on?
I seem to have found the issue. www.website.com is pointing to IP 1 and www.website.com/stats is pointing to IP 2. How do i fix this?
Reply With Quote
  #7  
Old 8th April 2009, 04:37
archerjd archerjd is offline
Member
 
Join Date: Dec 2006
Posts: 66
Thanks: 6
Thanked 6 Times in 6 Posts
 
Default

The only thing I can think of is you have an alias directive in an .htaccess file or in the Apache directives under options within ISPConfig. For example: Alias /stats /usr/local/mycustomstats

Something else just occurred to me.
Have you set the password for the stats yet?
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
Accessing web site by its ip address dimas General 7 11th September 2012 09:10
Errors on Build Your Own Debian/Ubuntu LAMP Server ngungo Installation/Configuration 5 10th March 2007 15:34
problem in: The Perfect Setup - Ubuntu 6.06 LTS Server PermaNoob HOWTO-Related Questions 6 15th January 2007 19:13
apt-get failure yap HOWTO-Related Questions 1 19th November 2006 22:33
log files, rotation and emailing them hairydog2 General 65 11th October 2006 13:18


All times are GMT +2. The time now is 08:54.


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