httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] mass virtual hosting
Date Mon, 29 Aug 2005 11:50:09 GMT
> 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:Isabelle.Moullet@unil.ch] 
Sent: Monday, August 29, 2005 11:54 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] 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: 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