ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как настроить несколько сайтов на одном сервере?
Date: Tue, 20 May 2008 20:46:05 +0300
Message-ID: <48330E5D.5060802@tangramltd.com> (raw)
In-Reply-To: <op.ubgrcwxk6oroyy@27268d66ec6e4d0>

[-- Attachment #1: Type: text/plain, Size: 706 bytes --]

Игорь Харченко пишет:
>>>     ServerName "atlant.ws"
>>>         Alias www.atlant.ws "/var/www/vhosts/atlant.ws/"
>> Читайте апачевскую доку на Alias и ServerAlias.  Это разные вещи.
> Я так понял нужно, что типа:
> <VirtualHost *:80>
>    ServerAlias  site.com=alias www.site.com=alias
>    ServerAlias  site2.com=alias www.site2.com=alias
> </VirtualHost>
>
> Правильно? И куда это прописать?
>
Не так. http://httpd.apache.org/docs/2.0/mod/core.html#serveralias

Вот так:
ServerAdmin "webmaster@atlant.ws"
ServerName "atlant.ws"
ServerAlias "www.atlant.ws"


-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

  reply	other threads:[~2008-05-20 17:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 15:40 [Comm] Не могу отправить почту с сайта Игорь Харченко
2008-05-20 15:51 ` Slava Dubrovskiy
2008-05-20 16:02   ` Игорь Харченко
2008-05-20 16:14     ` Denis S. Kostin
2008-05-20 16:16     ` Slava Dubrovskiy
2008-05-20 16:35       ` Игорь Харченко
2008-05-20 16:49         ` Slava Dubrovskiy
2008-05-20 16:14   ` Игорь Харченко
2008-05-20 16:19     ` Slava Dubrovskiy
2008-05-20 16:49   ` Игорь Харченко
2008-05-20 17:15     ` Slava Dubrovskiy
2008-05-20 17:24       ` [Comm] Как настроить несколько сайтов на одном сервере? Игорь Харченко
2008-05-20 17:31         ` Alexey I. Froloff
2008-05-20 17:39           ` Игорь Харченко
2008-05-20 17:46             ` Slava Dubrovskiy [this message]
2008-05-20 17:53               ` Игорь Харченко
2008-05-26 15:17               ` [Comm] Как настроить vnstat Игорь Харченко
2008-05-20 17:41           ` [Comm] Как настроить несколько сайтов на одном сервере? Slava Dubrovskiy
2009-12-12 18:23       ` [Comm] Ротация_логов Игорь Харченко
2009-12-12 18:39       ` Игорь Харченко
2009-12-12 19:08         ` Denis Nazarov
2009-12-12 20:51           ` Игорь Харченко

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=48330E5D.5060802@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=community@lists.altlinux.org \
    /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