ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Albert R.Valiev" <arkstone@mail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Apache 1.3.20 - troubles with virtual hosts and more...
Date: Tue Sep 18 17:13:28 2001
Message-ID: <20010918111903.2F6574D607@laguna.ru> (raw)
In-Reply-To: <20010914222040.A9170@localhost.localdomain>

14 Сентябрь 2001 22:20, Вы написали:
Может быть тебе подойдет мой конфиг:
Вот это у меня делает виртуальные хосты:
-------------------------------DynamicVhost.conf--------------------------
UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
CustomLog /var/log/httpd/vaccess_log vcommon
VirtualDocumentRoot /www/hosts/%0/docs
VirtualScriptAlias  /www/hosts/%0/cgi-bin
-------------------------------DynamicVhost.conf--------------------------

В результате в каталоге /www/hosts/$fqdn/docs размещаются страницы хоста, а 
также у каждого хоста отдельный каталог cgi-bin.

для примера (может я неправильно выразился) у меня есть хост www.test.ru, в 
результате в каталоге /www/hosts есть каталог www.test.ru, в нем подкаталоги 
docs & cgi-bin. Ну и так далее в том же духе. Кстати, вместо %0 можно 
поставить %1 (будет выглядеть так: каталог.hostname(если hostname = test.ru, 
то будет выглядеть $dir.test.ru), или же %2, это для вставки между hostname & 
domainname) (if hostname = www.test.ru then vhost = www.$dir.test.ru).
Надеюсь я понятно выразился :))))
-- 
Xmms np: Duran Duran - Come Undone



  parent reply	other threads:[~2001-09-18 17:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-12 18:05 Artem K. Jouravsky
2001-09-12 18:26 ` Maxim
2001-09-14  9:54   ` Artem K. Jouravsky
2001-09-14 12:29     ` Artem K. Jouravsky
2001-09-14 18:59       ` AT
2001-09-14 19:35         ` Artem K. Jouravsky
2001-09-18  5:57           ` AT
2001-09-18 11:52             ` Artem K. Jouravsky
2001-09-18 13:39               ` Artem K. Jouravsky
2001-09-18 14:03               ` Artem K. Jouravsky
2001-09-18 15:05               ` Artem K. Jouravsky
2001-09-18 17:13             ` Albert R.Valiev [this message]
2001-09-14 19:52     ` John Profic
2001-09-14 19:56       ` Artem K. Jouravsky

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=20010918111903.2F6574D607@laguna.ru \
    --to=arkstone@mail.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