Re: [users@httpd] Problem with setting up virtual hosting. Ver. 2.0.54

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

 



On 6/23/06, M von Ziegenweidt <maarten@xxxxxxxxxxxx> wrote:
If I access www.vzhost.co.uk which is the main server it goes through to the
base directory as required. If I access www.norfolknoticeboard.co.uk it goes
through to the base directory (www.vzhost.co.uk) as well when I actually
want it to go to ...html/noticeboard which can also be accessed by
www.vzhost.co.uk/noticeboard.

It is almost as if the request for the norforknoticeboard.co.uk isn't
getting the referral address through? There is no mention of it in the log
files. Is that normal?

If you want to verify what the client is sending, you need to log the
Host HTTP request header, which you can do by adding %{Host}o to your
LogFormat.

But the most likely problem in this case seems to be that you are
editting the wrong config file or haven't properly restarted your
server of something of the like.  Because once a NameVirtualHost *:80
exists, the DocumentRoot specified in the main server configuration
should *never* be used.

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