* [Comm] Vhosts не работают
@ 2005-01-25 10:49 Fred
2005-01-25 10:56 ` [Comm] " Michael Shigorin
2005-01-25 11:00 ` [Comm] " Fred
0 siblings, 2 replies; 4+ messages in thread
From: Fred @ 2005-01-25 10:49 UTC (permalink / raw)
To: community
Приветствую!
Помогите, плиз, разобраться. На др. серверах как-то без проблем работало и
работает...
Стоит:
apache-common-1.3.33rusPL30.20-alt1
apache-mod_perl-1.3.33rusPL30.20-alt1
apache-1.3.33rusPL30.20-alt1
mod_ssl-2.8.21-alt2
Vhosts.conf:
NameVirtualHost A.B.C.D
<VirtualHost A.B.C.D>
ServerName server.domain.ru
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost A.B.C.D>
ServerName fred.domain.ru
DocumentRoot /home/fred/public_html
</VirtualHost>
Разные варианты пробовал. Ни в /home/fred/public_html не идет, ни в другите
места в /var/www/html/*
В httpd.conf:
LoadModule vhost_alias_module modules/mod_vhost_alias.so
AddModule mod_vhost_alias.c
Include conf/addon-modules.d/*.conf
Include conf/vhosts/Vhosts.conf
Include conf/addon-modules/ssl.default-vhost.conf
Чего я упускаю?
Заранее спасибо.
--
Fred.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Comm] Re: Vhosts не работают
2005-01-25 10:49 [Comm] Vhosts не работают Fred
@ 2005-01-25 10:56 ` Michael Shigorin
2005-01-25 11:09 ` Fred
2005-01-25 11:00 ` [Comm] " Fred
1 sibling, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2005-01-25 10:56 UTC (permalink / raw)
To: community
On Tue, Jan 25, 2005 at 01:49:05PM +0300, Fred wrote:
> Vhosts.conf:
> NameVirtualHost A.B.C.D
NameVirtualHost *
> <VirtualHost A.B.C.D>
<VirtualHost _default_>
> ServerName server.domain.ru
> DocumentRoot /var/www/html
> </VirtualHost>
>
> <VirtualHost A.B.C.D>
<VirtualHost *>
> ServerName fred.domain.ru
> DocumentRoot /home/fred/public_html
> </VirtualHost>
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Re: Vhosts не работают
2005-01-25 10:56 ` [Comm] " Michael Shigorin
@ 2005-01-25 11:09 ` Fred
0 siblings, 0 replies; 4+ messages in thread
From: Fred @ 2005-01-25 11:09 UTC (permalink / raw)
To: community
On Tuesday 25 January 2005 13:56, Michael Shigorin wrote:
> On Tue, Jan 25, 2005 at 01:49:05PM +0300, Fred wrote:
> > Vhosts.conf:
> > NameVirtualHost A.B.C.D
>
> NameVirtualHost *
>
> > <VirtualHost A.B.C.D>
>
> <VirtualHost _default_>
>
> > ServerName server.domain.ru
> > DocumentRoot /var/www/html
> > </VirtualHost>
> >
> > <VirtualHost A.B.C.D>
>
> <VirtualHost *>
>
> > ServerName fred.domain.ru
> > DocumentRoot /home/fred/public_html
> > </VirtualHost>
А и то... Спасибо, Миш.
(Вот я позорище, блин.. :( )
--
Ушел в таксисты...
--
Yours,
Fred.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Vhosts не работают
2005-01-25 10:49 [Comm] Vhosts не работают Fred
2005-01-25 10:56 ` [Comm] " Michael Shigorin
@ 2005-01-25 11:00 ` Fred
1 sibling, 0 replies; 4+ messages in thread
From: Fred @ 2005-01-25 11:00 UTC (permalink / raw)
To: community
On Tuesday 25 January 2005 13:49, Fred wrote:
> Приветствую!
>
> Помогите, плиз, разобраться. На др. серверах как-то без проблем работало и
> работает...
Забыл написать, что именно не работает.
Все запросы валятся в корень (/var/www/html).
Адреса резолвятся так:
server.domain.ru:
Name: server.domain.ru
Address: A.B.C.D
fred.domain.ru:
canonical name = server.domain.ru. Name: server.domain.ru
Address: A.B.C.D
--
Yours,
Fred.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-25 11:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 10:49 [Comm] Vhosts не работают Fred
2005-01-25 10:56 ` [Comm] " Michael Shigorin
2005-01-25 11:09 ` Fred
2005-01-25 11:00 ` [Comm] " Fred
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