httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] Apache Virtual Server Configuration
Date Thu, 05 Jun 2008 14:54:32 GMT
Vinay Purohit wrote:
>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
---------------- End original message. ---------------------

There isn't a work around, that is how it operates. The first virtual 
host block is always the default and will be served if no other host 
name matches.

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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