Current time: 04-26-2024, 01:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
File does not exist: /htdocs
Author Message
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
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
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
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
04-02-2008 06:16 PM
Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
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
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
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
04-02-2008 07:26 PM
Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
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
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
04-02-2008 08:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DaSilva Offline
Member
***

Posts: 302
Joined: Dec 2007
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
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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...
04-02-2008 11:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
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.
(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 Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
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
#
(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
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)