Код: Выделить всё
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameСервер для localhost'а выдает 403 ошибку.
Куда копать?
P.S. пробовал указывать в качестве ServerName 127.0.0.1 -- не помогает.
Модератор: Bizdelnick
Код: Выделить всё
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerNamemifistor писал(а): ↑07.03.2007 20:29Поставил по инструкции apache2+MySQL+PHP. Все работало, пока я не стал изменять настройки для создания блоков виртуальных хостов. Старые копии конфигов я не сохранил, а теперь при попытке верунться по памяти к старому при перезапуске выдает ошибку:
Код: Выделить всё
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Сервер для localhost'а выдает 403 ошибку.
Куда копать?
P.S. пробовал указывать в качестве ServerName 127.0.0.1 -- не помогает.
Код: Выделить всё
* Starting apache 2.0 web server...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameКод: Выделить всё
127.0.0.1 localhost.localdomain localhost
внутрений www.сайт.ru mail.сайт.ru
внешний www.сайт.ru mail.сайт.ru
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhostsКод: Выделить всё
wwwКод: Выделить всё
nameserver dns
domain сайт.ruА ServerName в апачевом конфиге поставить
ServerName localhost
Код: Выделить всё
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
#ServerName localhostКод: Выделить всё
# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
ServerName www.сайт.ru