ispCP - Board - Support
File does not exist: /htdocs - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: File does not exist: /htdocs (/thread-2910.html)

Pages: 1 2


File does not exist: /htdocs - DaSilva - 04-02-2008 06:04 PM

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.


RE: File does not exist: /htdocs - Zothos - 04-02-2008 06:16 PM

did you ever take a look at your server?

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


RE: File does not exist: /htdocs - DaSilva - 04-02-2008 06:34 PM

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!?


RE: File does not exist: /htdocs - Zothos - 04-02-2008 07:26 PM

hmm, this could be the error.

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


RE: File does not exist: /htdocs - DaSilva - 04-02-2008 07:42 PM

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


RE: File does not exist: /htdocs - joximu - 04-02-2008 08:38 PM

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


RE: File does not exist: /htdocs - DaSilva - 04-02-2008 10:28 PM

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)



RE: File does not exist: /htdocs - joximu - 04-02-2008 11:46 PM

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...


RE: File does not exist: /htdocs - prale - 04-03-2008 01:39 AM

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.


RE: File does not exist: /htdocs - Kika - 04-03-2008 03:18 AM

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
#