Vinay Purohit wrote:
HiIs 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.htmlplease 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx