Post Reply  Post Thread 
Pages (2): « First [1] 2 Next > Last »
File does not exist: /htdocs
Author Message
DaSilva
Junior Member
*


Posts: 162
Group: Registered
Joined: Dec 2007
Status: Offline
Reputation: 0
Post: #1
Question  File does not exist: /htdocs

I have many entries like

Quote:
[Wed Apr 02 09:59:32 2008] [error] [client ::1] File does not exist: /htdocs


in my /var/log/apache2/error.log .
Where must I look to find that missing directory?
Thanks in advance.

04-02-2008 06:04 PM
Find all posts by this user Quote this message in a reply
Zothos
Member
****
Dev Team

Posts: 581
Group: Dev Team
Joined: Feb 2007
Status: Offline
Reputation: 7
Post: #2
RE: File does not exist: /htdocs

did you ever take a look at your server?

/var/www/virtual/domain.tld/htdocs
or
/var/www/virtual/domaon.tld/subdomain/htdocs


Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

04-02-2008 06:16 PM
Find all posts by this user Quote this message in a reply
DaSilva
Junior Member
*


Posts: 162
Group: Registered
Joined: Dec 2007
Status: Offline
Reputation: 0
Post: #3
RE: File does not exist: /htdocs

Every domain and its subdomains has / have a /htdocs directory.
The only thing that could be the problem is a disabled domain (in ispCP with the "pause icon").
Its name is "domain.de.disabled". Perhaps ispCP has not updated the master.conf or something else to this change!?

04-02-2008 06:34 PM
Find all posts by this user Quote this message in a reply
Zothos
Member
****
Dev Team

Posts: 581
Group: Dev Team
Joined: Feb 2007
Status: Offline
Reputation: 7
Post: #4
RE: File does not exist: /htdocs

hmm, this could be the error.

Please check if domain.de.disabled exists in /etc/apache2/sites-available/ispcp.conf


Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

04-02-2008 07:26 PM
Find all posts by this user Quote this message in a reply
DaSilva
Junior Member
*


Posts: 162
Group: Registered
Joined: Dec 2007
Status: Offline
Reputation: 0
Post: #5
RE: File does not exist: /htdocs

No, it doesn't exists but even domain.de (this specific domain) doesn't exists!

04-02-2008 07:42 PM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #6
RE: File does not exist: /htdocs

IMHO [client ::1] is localhost (ipv6) - so you maybe have a cronjob or something which does a connect on the webserver locally. IIRC suse does something like this every few minutes and if you delete the default htdocs flder you'll get messages like this.

Maybe check the whole apache config about htdocs folders and check if they exist.

apache2 -S

lists you all vhost entries and where they are configured.

/J


2008-03-16 ispCP RC4 released!!!
04-02-2008 08:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva
Junior Member
*


Posts: 162
Group: Registered
Joined: Dec 2007
Status: Offline
Reputation: 0
Post: #7
RE: File does not exist: /htdocs

Could this be the problem?
I cannot find other possible problems...

Code:
127.0.0.1:80           is a NameVirtualHost
         default server s1.frefel.net.local (/etc/apache2/sites-enabled/01_awstats.conf:28)
         port 80 namevhost s1.frefel.net.local (/etc/apache2/sites-enabled/01_awstats.conf:28)

04-02-2008 10:28 PM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #8
RE: File does not exist: /htdocs

yes - this might be possible.
Maybe you cann add some Log-Settings to this vhost (teporarely :-) - then you'll see.

But - this is only one side: the side on apache.

Why there are many errors I don't know. If the connections are from mod_proxy or from something different...


2008-03-16 ispCP RC4 released!!!
04-02-2008 11:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
prale
Junior Member
*


Posts: 83
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 1
Post: #9
RE: File does not exist: /htdocs

I can tell you I have exactly the same issue.

I also have awstats installed.
And monit is also checking 127.0.0.1 port 80 to check the apache service.


Debian Etch
IspCP-Omega 1.0.0 RC5a
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)

This post was last modified: 04-03-2008 01:43 AM by prale.

04-03-2008 01:39 AM
Find all posts by this user Quote this message in a reply
Kika
Junior Member
*


Posts: 59
Group: Registered
Joined: Feb 2007
Status: Offline
Reputation: 1
Post: #10
RE: File does not exist: /htdocs

The RewriteRule was wrong. Replace the /etc/apache2/sites-available/01_awstats.conf with this:

Code:
#
# AWStats Begin
#

Alias /awstatsicons "/usr/share/awstats/icon/"


NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>

    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
        RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$1 [P]
        RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]
    </IfModule>

    ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl"

    <Directory /usr/lib/cgi-bin>
        AllowOverride none
        Options +ExecCGI
        DirectoryIndex awstats.pl
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

#
# AWStats End
#


OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31

This post was last modified: 04-03-2008 03:19 AM by Kika.

04-03-2008 03:18 AM
Find all posts by this user Quote this message in a reply
Pages (2): « First [1] 2 Next > Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |