> I already use <ip-address>:* in my virtual host definition.

The configuration in your original posting did not contain any wildcard port 
neither for NameVirtualHost nor for VirtualHost. That is what threw me off.

> The problem may be due to the simultaneous use of the VirtualDocumentRoot 
> directive and the DirectoryIndex one.

Might. I do not use mod_vhost_alias, so I would'nt know.

-ascs


-----Original Message-----
From: Isabelle Moullet [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 29, 2005 11:54 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mass virtual hosting

Axel, thanks for your answer..

Yes I did look in my virtual host error_log file. And as I request the URL :
http://www2n.unil.ch:8080/

I get the message :
[Mon Aug 29 11:37:11 2005] [error] [client 130.223.8.33] File does not
exist: /data/8080/favicon.ico

Which let me think that the correct documentroot is chosen by the server ie 
/data/8080.

Moreover as I request http://www2n.unil.ch:8080/dir8080 which is a subdirectory 
of /data/8080 including an index.html file I get the message:
[Mon Aug 29 11:27:40 2005] [error] [client 130.223.8.33] Directory index 
forbidden by rule: /data/8080/dir8080/

As I add index.html to both URL, then the correct document is served.. 
ie from the correct documentroot.

I already use <ip-address>:* in my virtual host definition.

Yes I already have a
DirectoryIndex index.html index.html.var
  in my main httpd.conf

I also add again that directive in my virtualhost definition in several way 
such as:
     <Directory /data/8080>
     DirectoryIndex index.html
     IndexOptions FancyIndexing
     </Directory>

The problem may be due to the simultaneous use of the VirtualDocumentRoot 
directive and the DirectoryIndex one..

Cordialement,


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