httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philguillard <philguill...@gmail.com>
Subject Re: [users@httpd] Attempt to serve DocumentRoot directory ?
Date Tue, 12 Jun 2007 04:39:45 GMT
Thanks  for you answer.
I found out that i maybe made a mistake,that gives me another question :

I discovered recently that another domain owner was pointing to my 
server (maybe in order to set me as duplicated content for google??..)

Since the first virtual host is the default for whatever url is pointing 
to my server i configured a virtual host without directives and that's 
the origin of my logs:

<VirtualHost *:80>
     ServerName www.phil.com
     DocumentRoot /usr/local/apache2/htdocs/dummy
     RewriteEngine On
</VirtualHost>


<VirtualHost *:80>
     ServerName www.myRealDomainName.com
#here the real configuration
......

Is there a way to do this hum.. more seriously ?

Phil

Vincent Bray wrote:
> On 12/06/07, philguillard <philguillard@gmail.com> wrote:
> 
>> I get many attempts to DocumentRoot, they seem not to be correlated with
>> user requests for pages, and it comes 15 lines like this one beow at the
>> same time:
>>
>> [error] [client 127.0.0.1] Attempt to serve directory:
>> /usr/local/apache2/htdocs/myapp/
> 
> 
> If you're running 2.2 this could be an instance of the 'internal dummy
> connection' feature. See:
> 
> http://wiki.apache.org/httpd/Logs/InternalDummyConnection
> 
> Switching to combined log format (to get the user agent) and watching
> your access log should help to determine if that's the issue.
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message