ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey <aab3@chat.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Apache configuration virtual host
Date: Fri Sep  7 10:55:11 2001
Message-ID: <E15fFWN-000F3i-00@mail.chat.ru> (raw)
In-Reply-To: <1091210184963.20010906152330@banana.ptt.ru>


>>> несколько дней бьюсь на попыткой сделать несколько хостов
>>> разделенных
>>> по именам. Нифига не выходит. На все запросы сервер выдает
>>> документацию. Зловещий намек. :))

M> Вот конфиг для одного домена

M> NameVirtualHost x.x.x.x
M> <VirtualHost x.x.x.x>
M> Options Includes Indexes
[skipped]
M> </VirtualHost>

Я считаю, что надо писать:

NameVirtualHost x.x.x.x:*
.........
<VirtualHost x.x.x.x:*>
 DocumentRoot /export/apache/htdocs1
ServerName www1.чтототам.ru
</VirtualHost>

Если конечно x.x.x.x -это IP
Таким образом, имя задоется полем ServerName

Алексей.

--



      parent reply	other threads:[~2001-09-07 10:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 22:54 max_conf
2001-09-06 12:56 ` Vlad Vostrykh
2001-09-06 13:14 ` Artem K. Jouravsky
2001-09-06 15:18   ` Maxim
2001-09-06 16:57     ` Vlad Vostrykh
2001-09-07 10:55     ` Alexey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E15fFWN-000F3i-00@mail.chat.ru \
    --to=aab3@chat.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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