ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: John Profic <profic@lrn.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Apache 1.3.20 - troubles with virtual hosts and more...
Date: Fri Sep 14 19:52:11 2001
Message-ID: <3BA22139.8050908@lrn.ru> (raw)
In-Reply-To: <20010914100245.6b9cef5a.ujo@zuzusoft.com>

Artem K. Jouravsky wrote:
> Здравствуйте, Maxim <max_conf@banana.ptt.ru>!
> От Wed, 12 Sep 2001 18:32:52 +0400 вы писали на тему Re: [mdk-re]
> Apache 1.3.20 - troubles with virtual hosts and more...:
<snip>
> С хостами же такая беда: имеем
> файл, который инклюдится в общий конфиг
> /etc/httpd/conf/vhosts/Vhosts.conf. Прописываем в него два
> виртуальных хоста:

Добавить NameVirtualHost *IP-адрес*, например
NameVirtualHost 192.168.1.1

> <VirtualHost artgalactic-com.ifirst.ru>
и тут тоже должен быть IP-адрес, т.е. в соответствии с примером выше:
<VirtualHost 192.168.1.1>
>     ServerAdmin zamkov@ifirst.ru
>     DocumentRoot /home/samba/testing/artgalactic-com
>     ServerName artgalactic-com.ifirst.ru
>     ErrorLog logs/artgalactic-com.ifirst.ru-error.log
>     TransferLog logs/artgalactic-com.ifirst.ru-access.log
>     ScriptAlias /cgi-bin/ /home/test/public_html/cgi
>     CharsetRecodeMultipartForms Off
> </VirtualHost>
> 
> <VirtualHost king.ifirst.ru>
>     ServerAdmin ujo@zuzusoft.com
>     DocumentRoot /home/httpd/html
>     ServerName king.ifirst.ru
>     ErrorLog logs/king.ifirst.ru-error.log
>     TransferLog logs/king.ifirst.ru-access.log
>     ScriptAlias /cgi-bin/ /home/httpd/cgi-bin
>     CharsetRecodeMultipartForms Off
> </VirtualHost>
> Грузится только первый, по какому адресу ни обратись. Причем,
> повторяю, я с этим уже сталкивался раньше, тогда все закончилось
> самостоятельной сборкой Апача... Ну где еще может быть кривизна??
Читайте, наконец, документацию :) Там это так разжевано, что я сделал 
это первым делом и без особых напрягов, когда давным-давно поставил себе 
линукс...
И позволю себе еще раз обратить внимани на то, в директивах 
NameVirtualHost и <VirtualHost ...> должны быть указаны только IP 
адреса, имена не подойдут. Это раз :)
-- 
Best regards,
  John Profic <profic@lrn.ru>
Written by Mozilla 0.9.3
using ASPLinux release 1.1 with ru_RU.CP1251,
system: XFree86 4.1.0; kernel 2.4.8-xfs-p2; gcc 3.0.1





  parent reply	other threads:[~2001-09-14 19:52 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
2001-09-14 19:52     ` John Profic [this message]
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=3BA22139.8050908@lrn.ru \
    --to=profic@lrn.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