RE: [users@httpd] mass virtual hosting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxx] 
Sent: Monday, August 29, 2005 11:54 AM
To: users@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux