ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Maks Re <admaks@gmail.com>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] apache - два vhost: domain.ru & sub.domain.ru
Date: Thu, 11 Feb 2010 12:07:13 +0300
Message-ID: <20100211120713.70ba9481@lynx.home.remaks.info> (raw)
In-Reply-To: <20100211084926.GC22845@ricom.ru>

В Thu, 11 Feb 2010 11:49:26 +0300
Alexey Morsov <samurai@ricom.ru> пишет:

> On Thu, Feb 11, 2010 at 10:31:50AM +0300, Maks Re wrote:
> > 
> > я бы хотел это реализовать на обоих версиях.
> Конфиг в студию уже дайте.
> 

# Summary: dev.domain.ru Virtual Hosts

<VirtualHost * >
        ServerAdmin     "webmaster@domain.ru"
        ServerName      "dev.domain.ru"
        ServerAlias     "www.dev.domain.ru"
        DocumentRoot    "/var/www/vhosts/dev.domain.ru/html"
        ErrorLog        "/var/log/httpd/dev_domain_ru.error_log"
        TransferLog     "/var/log/httpd/dev_domain_ru.access_log"
        <IfModule alias_module>
                ScriptAlias /cgi-bin/ "/var/www/vhosts/dev.domain.ru/cgi-bin/"
	</IfModule>
</VirtualHost>

# Summary: domain.ru Virtual Hosts

<VirtualHost * >
        ServerAdmin     "webmaster@domain.ru"
        ServerName      "domain.ru"
        ServerAlias     "www.domain.ru"
        DocumentRoot    "/var/www/vhosts/domain/html"
        ErrorLog        "/var/log/httpd/domain_ru.error_log"
        TransferLog     "/var/log/httpd/domian_ru.access_log"
        <IfModule alias_module>
                ScriptAlias /cgi-bin/ "/var/www/vhosts/domain.ru/cgi-bin/"
	</IfModule>
</VirtualHost>


  reply	other threads:[~2010-02-11  9:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 22:09 Maks Re
2010-02-10 23:01 ` Ivan Fedorov
2010-02-11  7:31   ` Maks Re
2010-02-11  4:09 ` Aleksey Avdeev
2010-02-11  7:31   ` Maks Re
2010-02-11  8:49     ` Alexey Morsov
2010-02-11  9:07       ` Maks Re [this message]
2010-02-11  9:26         ` Ivan Fedorov
2010-02-11  9:08       ` Maks Re
2010-02-11  7:29   ` Maks Re

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=20100211120713.70ba9481@lynx.home.remaks.info \
    --to=admaks@gmail.com \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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