|
Re: lug-bg: help za Apache
- Subject: Re: lug-bg: help za Apache
- From: gf@xxxxxxxxxx (gf@xxxxxxxxxx)
- Date: Tue, 18 Jul 2000 10:33:18 +0300
On Tue, Jul 18, 2000 at 09:40:01AM +0300, mano wrote:
> Niakoi ima li predstava (sigurno mnogo hora imat ne i az) kak se pravi
> slednoto:
> http://www.plomba.net/ Estestveno tozi link sochi kym stranicata na
> Internet Club. Tova ne e problem. Problem e drugo. Iskam da napravia
> niakolko razlichni stranici na edin i sysht server kato drugite da priemat
> imena kato naprimer http://irc.plomba.net/ ili http://mano.plomba.net/
> kato sled kato se napishat taka da ne se otvaria pak glavnata stranica na
> Cluba a dyvsem razlichni stranici koito se namirat na the same server.
> Znam che mnogo ot vas znaiat kak se pravi. Az opitah s Vhosts na Apache
> ama sled dylgi usilia uspiah da razbera che tia Vhost mai sa za drugo:
> demek da moje da se pravi http://www.plomba.net/ ili
> http://www.krusha.net/
Znachi tova e w http.conf
ServerName cybcom.net
NameVirtualHost 212.124.68.3:80
<VirtualHost www.cybcom.net>
DocumentRoot /home/cybcom
ServerName www.cybcom.net
</VirtualHost>
<VirtualHost mail.cybcom.net>
DocumentRoot /home/mail
ServerName mail.cybcom.net
</VirtualHost>
<VirtualHost forum.cybcom.net>
DocumentRoot /home/forum
ServerName forum.cybcom.net
</VirtualHost>
Waw wseki vurtualhost mozhesh da si ukazvash razlichni nastroiki ot sorta
na ServerAdmin, ErrorLog i t.n. wsichko tova go ima opisano waw manuala na apache-to, malko e obarkano dokato go hvanesh no inache ima logika ;)
gf
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|