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.
did you ever take a look at your server?
/var/www/virtual/domain.tld/htdocs
or
/var/www/virtual/domaon.tld/subdomain/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!?
hmm, this could be the error.
Please check if domain.de.disabled exists in /etc/apache2/sites-available/ispcp.conf
No, it doesn't exists but even domain.de (this specific domain) doesn't exists!
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
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)
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...
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.
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
#