Re: [users@httpd] VirtualHosts not doing what I would like them to.

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

 



On Apr 10, 2005 2:52 AM, Christopher Malton <cjm@xxxxxxxxxxxxxxxxxx> wrote:
> # The first VirtualHost section is used for requests without a known
> # server name.

I think you need to reread the above comment.

> The problem is that the third of these VirtualHost structures is not
> working.  It should display index.html from the /var/www_unknown folder,
> but it does not.  It just ignores it and displays index.html
> from /var/www_cjsoftuk/  which is the folder for default website.

List the "default" virtual host *first* in the config file and give it
the IP address as the ServerName (or any other name that doesn't
conflict with the rest of your vhosts).

Joshua.

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