ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] dns, apache, virtual hosts
@ 2002-03-16 16:01 Korshunov Ilya
  2002-03-16 17:38 ` Carry Ram
  0 siblings, 1 reply; 3+ messages in thread
From: Korshunov Ilya @ 2002-03-16 16:01 UTC (permalink / raw)
  To: mandrake-russian

Люди никто мне в теории не подскажет про виртуальные хосты ?
Дано - внутренний днс и сервер с адресом 192.168.1.221. DNS
кажет на него имя lib.kp в апаче (ServerName) записано оно же. 
Задача - сдеалть к нему virtual host - name.lib.kp 
Я попытался но в связи с отсутвием практики не фига не получилось.
Сделал следующее в зону named вписал name.lib.kp CNAME lib.kp.
А в virtual host прописал
<VirtualHost 192.168.1.221>
    ServerAdmin root@localhost
    DocumentRoot /export/home/hosts/name
    ServerName name.lib.kp
</VirtualHost>
NameVirutalHost name.lib.kp

name.lib.kp работает, но  при заходе на lib.kp попадаю также в /export/home/hosts/name вместо /export/home/hosts/lib


Подскажите pls что я сделал не так или недоделал
--------------------
regards
korshunov



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-16 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-16 16:01 [mdk-re] dns, apache, virtual hosts Korshunov Ilya
2002-03-16 17:38 ` Carry Ram
2002-03-16 17:42   ` Korshunov Ilya

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git