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

Re: Named Virtual Hosts



Hi Joe, try this one:

----
NameVirtualHost *:80

<VirtualHost *:80>
  ServerName www.myweb.com
  ServerAlias myweb.com
  ServerAdmin joe@myweb.com
  DocumentRoot "/home/myweb/www"
  DirectoryIndex home_page.html
</VirtualHost>
----

Regards,
-Rodi

On Tue, 2003-08-26 at 22:00, Joe wrote:
>     Greetings,
>  
> I am running the latest Apache on a stable Debian box. I have
> specified the Named Virtual Hosts in the conf file, by hand and using
> Apache Conf editor with no luck. The main site loads each time with
> different URLs used. (I have three sites that I am trying to run from
> this box. All have been defined in DNS and will answer to its own URL
> request with the right IP address. All are using the same IP as we
> only have one). Any suggestions would be help full. Below is a snip of
> the conf file and one of the Virtual Hosts:
>  
> Line 247 NameVirtualHost www.myweb.com
> #
> #
> Line 575 <VirtualHost www.myweb.com>
> Line 575 ServerName MyWeb
> Line 575  ServerAdmin joe@myweb.com
> Line 575  DocumentRoot "/home/myweb/www"
> Line 575  DirectoryIndex home_page.html
> Line 575  </VirtualHost>
>  
> Thank you.
>  
> Joe
-- 

Met vriendelijke groet / Kind regards,

Rodi Evers (revers@hbh-it.nl)
HBH Automatisering B.V.
Koningslaan 30,
1075 AD Amsterdam,
The Netherlands.

Phone      :  +31 20 662 41 45
Fax        :  +31 20 676 44 78

----------------------------------------------------------------------
----------------------------------------------------------------------
De informatie verzonden met dit e-mail bericht is uitsluitend bestemd
voor de geadresseerde. Gebruik van deze informatie door anderen dan
de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging,
verspreiding en/of verstrekking van deze informatie aan derden is niet
toegestaan. Horlings, Brouwer & Horlings staat niet in voor de juiste
en volledige overbrenging van de inhoud van een verzonden e-mail, noch
voor tijdige ontvangst daarvan.

Website: http://www.hbh-it.nl/
----------------------------------------------------------------------
----------------------------------------------------------------------
The information contained in this communication is confidential and
may be legally privileged. It is intented solely for the use of the
individual orentity to whom it is addressed and others authorised to
receive it. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or taking any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. Horlings, Brouwer & Horlings is
neither liable for the proper and complete transmission of the
information contained in this communication nor for any delay in its
receipt.

Website: http://www.hbh-it.nl/
----------------------------------------------------------------------
----------------------------------------------------------------------




Reply to: