RE: Apache Virtual Server Configuration

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

 



 thanks matt 
Is it mandatory or not to have first vh as main server ? If we do not put first vh as main server how can I acess a main server resources.

\Vinay
-----Original Message-----
From: matt.farey@xxxxxxxxx [mailto:matt.farey@xxxxxxxxx] 
Sent: Thursday, June 05, 2008 12:29 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache Virtual Server Configuration

The first v.h. block is important in that any request for a host (servername) that is not found in any other vh block defaults to the first block.

So on my servers in the top most block all requests are rewritten to a "please check the url" page.

Sent from my BlackBerry® wireless device

-----Original Message-----
From: "Vinay Purohit" <Vinay.Purohit@xxxxxxxxxx>

Date: Thu, 5 Jun 2008 12:20:36
To:<users@xxxxxxxxxxxxxxxx>
Subject:  Apache Virtual Server Configuration

Hi 
  
Is it mandatory to have first virtual server block as main server when we configure name based virtual server on apache2.2.8  ? 
 
Creation of virtual servers: While creating virtual servers on apache 2.2.8 we have to include a virtual host block for each virtual server we want to create and one virtual host block for main server which should be kept at top of all blocks. The reason and description are shown in the mentioned link. http://httpd.apache.org/docs/2.2/vhosts/name-based.html <http://httpd.apache.org/docs/2.2/vhosts/name-based.html>
please suggest if any work around ? 
  
\Vinay 
  
  
 

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