On 12/06/07, philguillard <[EMAIL PROTECTED]> wrote:
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>

There's no need for ServerName here, and the RewriteEngine On is
totally redundant. There's no harm in setting the ServerName (the main
server's value will be inherited) but it doesn't buy you anything
useful.

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

No, that's pretty much the usual approach. You could use your default
vhost to Redirect requests to a recognised one; that way whatever
names/ip addresses are used to get to your server will be
canonicalised.

--
noodl

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to