Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 09:40:44 +0700
From:      "Alex N. Zhuravlev" <alx@scn.ru>
To:        "John A. Hengstler" <john@hei.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Virtual Apache and DNS
Message-ID:  <3B81CA2C.3CA162E3@scn.ru>
References:  <NDBBJCFGBCLFCNJCCJPDKEDJCDAA.john@hei.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Look for ServerAlias under VirtualHost.

Alex N. Zhuravlev

"John A. Hengstler" wrote:
> 
> Greetings,
> 
> What is the generally accepted way of handling the following in named and
> apache:
> Where www.somehost.com and somehost.com get to the same pages.    Should
> there be 2 VirtualHost entries in httpd.conf and dns as follows, or 1 in
> httpd.conf (www.somehost.com) and dns set differently?
> 
> It works as is, but seems to me that their should only be 1 entry in
> httpd.conf
> 
> Suggestions appreciated.
> 
> John Hengstler
> 
> httpd.conf:
> 
> #       www.somehost.com
> #       somehost.com
> 
>         NameVirtualHost *
>         <VirtualHost *>
>         ServerName www.somehost.com
>         </VirtualHost>
>         <VirtualHost *>
>         ServerName somehost.com
>         </VirtualHost>
> 
> named file:
> 
> $ORIGIN com.
> somehost.com 3600      IN      SOA     somehost.com. root.somehost.net. (
>                 2001081901 1800 900 604800 3600 )
>         3600    IN      A       xxx.xxx.xxx.xxx
> $ORIGIN somehost.com.
> www     3600    IN      A       xxx.xxx.xxx.xxx
> ftp     3600    IN      A       xxx.xxx.xxx.xxx
> smtp     3600    IN      A      xxx.xxx.xxx.xxx
> pop3     3600    IN      A      xxx.xxx.xxx.xxx
> mail     3600    IN      A      xxx.xxx.xxx.xxx
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
[-- Attachment #2 --]
0	*H
010	+0	*H
0n0נx!0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
010820063352Z
020820063352Z0<10UThawte Freemail Member10	*H
	
alx@scn.ru00
	*H
0FrpOR M:EO6} 

v:x~$)폻y ˟RNSߚy$6hz	0F}?:t\IB-S/	~"
5Ms
ĕJiDVXO'0%0U0
alx@scn.ru0U00
	*H
+T%:E?|6٢ B=
ȶePBG0ﲶ"yt'9"k7lQ87C$bDkeN6DJfʊk{HAc8;0)00
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
020829235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
so&e4KYbDI

j&*bctmSK8P:l4撜n#	KrgPo.XPWՈ9[9}4%MjÑ/<RbH100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30x!0	+0	*H
	1	*H
0	*H
	1
010821024046Z0#	*H
	1+<+zgIo0R	*H
	1E0C0
*H
0*H
0+0
*H
@0
*H
(0
	*H
U43qϲ=ވ-=||o;,nu(ksPD& O-ƍAŃ7"M@@e󊖵Ϛe	a,=2u\,΅ы"ȖG
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B81CA2C.3CA162E3>