* [Comm] Виртуальные хосты Apache
@ 2008-10-30 10:28 Кудрявцев Сергей
2008-10-30 10:55 ` Желудков Д.В.
2008-10-30 11:25 ` Андрей Жмурин
0 siblings, 2 replies; 19+ messages in thread
From: Кудрявцев Сергей @ 2008-10-30 10:28 UTC (permalink / raw)
To: community
Вот конфиг вирт хостов:
NameVirtualHost a.b.c.d
<VirtualHost a.b.c.d>
ServerAdmin webmasterr@site1.org
ServerName site1.org:80
ServerAlias www.site1.org
DocumentRoot "/var/www/apache2/html/site1.org"
<Directory />
Include conf/extra-available/Directory_root_default.conf
</Directory>
<Directory "/var/www/apache2/html/site1.org">
Include conf/extra-available/Directory_html_default.conf
DirectoryIndex index.php
</Directory>
<IfModule log_config_module>
ErrorLog /var/log/httpd2/site1.org/error_log
CustomLog /var/log/httpd2/site1.org/access_log combined
LogLevel debug
</IfModule>
</VirtualHost>
<VirtualHost a.b.c.d>
ServerAdmin webmasterr@site2.org
ServerName site2.org:80
ServerAlias www.site2.org
DocumentRoot "/var/www/apache2/html/site2.org"
<Directory />
Include conf/extra-available/Directory_root_default.conf
</Directory>
<Directory "/var/www/apache2/html/site2.org">
Include conf/extra-available/Directory_html_default.conf
DirectoryIndex index.php
</Directory>
<IfModule log_config_module>
ErrorLog /var/log/httpd2/site2.org/error_log
CustomLog /var/log/httpd2/site2.org/access_log combined
LogLevel debug
</IfModule>
</VirtualHost>
При запуске апач пише:
Checking configuration sanity for httpd2: httpd2: Could not reliably
determine the server's fully qualified domain name, using a.b.c.d for
ServerName
[Thu Oct 30 13:17:42 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
Syntax OK
[ DONE ]
Starting httpd2 service: httpd2: Could not reliably determine the
server's fully qualified domain name, using a.b.c.d for ServerName
[Thu Oct 30 13:17:42 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
[FAILED]
Файл hosts содержит:
a.b.c.d site1 site2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 10:28 [Comm] Виртуальные хосты Apache Кудрявцев Сергей
@ 2008-10-30 10:55 ` Желудков Д.В.
2008-10-30 10:55 ` Кудрявцев Сергей
2008-10-30 11:25 ` Андрей Жмурин
1 sibling, 1 reply; 19+ messages in thread
From: Желудков Д.В. @ 2008-10-30 10:55 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Чтв, 30/10/2008 в 13:28 +0300, Кудрявцев Сергей пишет:
> Файл hosts содержит:
> a.b.c.d site1 site2
Вы хотя бы свой ИП для локалхоста для приличия написали там :)
Попробуйте
127.0.0.1 localhost.localdomain localhost a.b.c.d site1 site2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 10:55 ` Желудков Д.В.
@ 2008-10-30 10:55 ` Кудрявцев Сергей
2008-10-30 11:00 ` Желудков Д.В.
0 siblings, 1 reply; 19+ messages in thread
From: Кудрявцев Сергей @ 2008-10-30 10:55 UTC (permalink / raw)
To: ALT Linux Community general discussions
Желудков Д.В. пишет:
> В Чтв, 30/10/2008 в 13:28 +0300, Кудрявцев Сергей пишет:
>
>> Файл hosts содержит:
>> a.b.c.d site1 site2
>>
> Вы хотя бы свой ИП для локалхоста для приличия написали там :)
> Попробуйте
> 127.0.0.1 localhost.localdomain localhost a.b.c.d site1 site2
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
и это тоже прописано.
ИП белый, ДНС тоже верны... почему пишет что не может проверить ДНС-имя
и почему не запускается?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 10:55 ` Кудрявцев Сергей
@ 2008-10-30 11:00 ` Желудков Д.В.
2008-10-30 11:05 ` Кудрявцев Сергей
2008-10-30 11:05 ` Желудков Д.В.
0 siblings, 2 replies; 19+ messages in thread
From: Желудков Д.В. @ 2008-10-30 11:00 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Чтв, 30/10/2008 в 13:55 +0300, Кудрявцев Сергей пишет:
> Желудков Д.В. пишет:
> > В Чтв, 30/10/2008 в 13:28 +0300, Кудрявцев Сергей пишет:
> >
> >> Файл hosts содержит:
> >> a.b.c.d site1 site2
> >>
> > Вы хотя бы свой ИП для локалхоста для приличия написали там :)
> > Попробуйте
> > 127.0.0.1 localhost.localdomain localhost a.b.c.d site1 site2
> >
> > _______________________________________________
> > community mailing list
> > community@lists.altlinux.org
> > https://lists.altlinux.org/mailman/listinfo/community
> и это тоже прописано.
> ИП белый, ДНС тоже верны... почему пишет что не может проверить ДНС-имя
> и почему не запускается?
> _______________________________________________
где прописано? Вставьте все содержимое hosts.
Кроме того, я бы вам рекомендовал отказаться от устаревшей схемы
создания виртуальных хостов и воспользоваться новыми механизмами через
a2{en,dis}{mod,site} .
В документации есть краткая справка
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:00 ` Желудков Д.В.
@ 2008-10-30 11:05 ` Кудрявцев Сергей
2008-10-30 11:05 ` Желудков Д.В.
1 sibling, 0 replies; 19+ messages in thread
From: Кудрявцев Сергей @ 2008-10-30 11:05 UTC (permalink / raw)
To: ALT Linux Community general discussions
Желудков Д.В. пишет:
> В Чтв, 30/10/2008 в 13:55 +0300, Кудрявцев Сергей пишет:
>
>> Желудков Д.В. пишет:
>>
>>> В Чтв, 30/10/2008 в 13:28 +0300, Кудрявцев Сергей пишет:
>>>
>>>
>>>> Файл hosts содержит:
>>>> a.b.c.d site1 site2
>>>>
>>>>
>>> Вы хотя бы свой ИП для локалхоста для приличия написали там :)
>>> Попробуйте
>>> 127.0.0.1 localhost.localdomain localhost a.b.c.d site1 site2
>>>
>>> _______________________________________________
>>> community mailing list
>>> community@lists.altlinux.org
>>> https://lists.altlinux.org/mailman/listinfo/community
>>>
>> и это тоже прописано.
>> ИП белый, ДНС тоже верны... почему пишет что не может проверить ДНС-имя
>> и почему не запускается?
>> _______________________________________________
>>
>
>
> где прописано? Вставьте все содержимое hosts.
> Кроме того, я бы вам рекомендовал отказаться от устаревшей схемы
> создания виртуальных хостов и воспользоваться новыми механизмами через
> a2{en,dis}{mod,site} .
>
> В документации есть краткая справка
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
# cat /etc/hosts
127.0.0.1 mycomp.local localhost.localdomain localhost
77.234.200.98 0.ru.pool.ntp.org
78.47.136.197 0.europe.pool.ntp.org
193.125.143.173 0.pool.ntp.org
a.b.c.d mycomp site1 site2
А что за механизм a2{en,dis}{mod,site}?
Можете вкрадце описать настройки?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:00 ` Желудков Д.В.
2008-10-30 11:05 ` Кудрявцев Сергей
@ 2008-10-30 11:05 ` Желудков Д.В.
2008-10-30 11:06 ` Кудрявцев Сергей
1 sibling, 1 reply; 19+ messages in thread
From: Желудков Д.В. @ 2008-10-30 11:05 UTC (permalink / raw)
To: ALT Linux Community general discussions
В Чтв, 30/10/2008 в 14:00 +0300, Желудков Д.В. пишет:
> a.b.c.d
После повторного прочтения озарило. Это вы так ИП написали? Если да, то
еще раз к новым механизмам, и если не поможет - дефолтный хост
отзывается по ИП?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:05 ` Желудков Д.В.
@ 2008-10-30 11:06 ` Кудрявцев Сергей
2008-10-30 11:14 ` Желудков Д.В.
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:06 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:06 ` Кудрявцев Сергей
@ 2008-10-30 11:14 ` Желудков Д.В.
2008-10-30 11:19 ` Кудрявцев Сергей
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:14 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:14 ` Желудков Д.В.
@ 2008-10-30 11:19 ` Кудрявцев Сергей
2008-10-30 11:24 ` Желудков Д.В.
2008-10-30 11:28 ` Желудков Д.В.
0 siblings, 2 replies; 19+ messages in thread
From: @ 2008-10-30 11:19 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:19 ` Кудрявцев Сергей
@ 2008-10-30 11:24 ` Желудков Д.В.
2008-10-30 11:28 ` Желудков Д.В.
1 sibling, 0 replies; 19+ messages in thread
From: @ 2008-10-30 11:24 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 10:28 [Comm] Виртуальные хосты Apache Кудрявцев Сергей
2008-10-30 10:55 ` Желудков Д.В.
@ 2008-10-30 11:25 ` Андрей Жмурин
2008-10-30 12:04 ` Кудрявцев Сергей
1 sibling, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:25 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:19 ` Кудрявцев Сергей
2008-10-30 11:24 ` Желудков Д.В.
@ 2008-10-30 11:28 ` Желудков Д.В.
2008-10-30 11:34 ` Кудрявцев Сергей
1 sibling, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:28 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:28 ` Желудков Д.В.
@ 2008-10-30 11:34 ` Кудрявцев Сергей
2008-10-30 11:48 ` Желудков Д.В.
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:34 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:34 ` Кудрявцев Сергей
@ 2008-10-30 11:48 ` Желудков Д.В.
2008-10-30 11:51 ` Кудрявцев Сергей
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:48 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:48 ` Желудков Д.В.
@ 2008-10-30 11:51 ` Кудрявцев Сергей
2008-10-31 18:22 ` Aleksey Avdeev
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 11:51 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:25 ` Андрей Жмурин
@ 2008-10-30 12:04 ` Кудрявцев Сергей
2008-10-30 12:23 ` Андрей Жмурин
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 12:04 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 12:04 ` Кудрявцев Сергей
@ 2008-10-30 12:23 ` Андрей Жмурин
2008-10-30 12:33 ` Кудрявцев Сергей
0 siblings, 1 reply; 19+ messages in thread
From: @ 2008-10-30 12:23 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 12:23 ` Андрей Жмурин
@ 2008-10-30 12:33 ` Кудрявцев Сергей
0 siblings, 0 replies; 19+ messages in thread
From: @ 2008-10-30 12:33 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Comm] Виртуальные хосты Apache
2008-10-30 11:51 ` Кудрявцев Сергей
@ 2008-10-31 18:22 ` Aleksey Avdeev
0 siblings, 0 replies; 19+ messages in thread
From: @ 2008-10-31 18:22 UTC (permalink / raw)
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2008-10-31 18:22 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 10:28 [Comm] Виртуальные хосты Apache Кудрявцев Сергей
2008-10-30 10:55 ` Желудков Д.В.
2008-10-30 10:55 ` Кудрявцев Сергей
2008-10-30 11:00 ` Желудков Д.В.
2008-10-30 11:05 ` Кудрявцев Сергей
2008-10-30 11:05 ` Желудков Д.В.
2008-10-30 11:06 ` Кудрявцев Сергей
2008-10-30 11:14 ` Желудков Д.В.
2008-10-30 11:19 ` Кудрявцев Сергей
2008-10-30 11:24 ` Желудков Д.В.
2008-10-30 11:28 ` Желудков Д.В.
2008-10-30 11:34 ` Кудрявцев Сергей
2008-10-30 11:48 ` Желудков Д.В.
2008-10-30 11:51 ` Кудрявцев Сергей
2008-10-31 18:22 ` Aleksey Avdeev
2008-10-30 11:25 ` Андрей Жмурин
2008-10-30 12:04 ` Кудрявцев Сергей
2008-10-30 12:23 ` Андрей Жмурин
2008-10-30 12:33 ` Кудрявцев Сергей
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