From: "Андрей Жмурин" <zzh@tula.net> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Виртуальные хосты Apache Date: Thu, 30 Oct 2008 15:23:06 +0300 Message-ID: <F0469C77-8B7A-41ED-AEAA-D80EACB82387@tula.net> (raw) In-Reply-To: <4909A2CE.6040404@rambler.ru> Добрый день, весёлая минутка! 30.10.2008, в 15:04, Кудрявцев Сергей написал(а): > Что тут подразумевается под основным конфигом? Это и есть основной > конфиг - в него проинклудили неск. других файлов Вот, в httpd.conf если поискать, то либо нет совсем, либо закомментирована директива ServerName . Про неё он и пишет. Это имя "по умолчанию". Сервер его автоматом назначает. > А ошибка вот какая: > > # apachectl2 restart > Stopping httpd2 > service > : [ DONE > ] > Checking configuration sanity for httpd2: httpd2: Could not > reliably determine the server's fully qualified domain name, using > a.b.c.d for ServerName > 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 > [FAILED > ] > > > Как я понимаю первый хост стартует, а второй - нет, т.к. IP уже > занят... В наше время и на одном IP-адресе может сидеть много доменов, и на один домен может быть привязано много IP-адресов - ничего страшного в этом нет. Если примитивно, ServerName нужен будет как раз для нахождения нужного виртуала, когда придёт запрос от браузера - там он в заголовках будет указан. В принципе, от этого падать он не должен. Наверное, что-то ещё происходит. Попробуйте лог ошибок Апача посмотреть, на всякий случай. ___ С уважением и приветом, Жмурин Андрей
next prev parent reply other threads:[~2008-10-30 12:23 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-30 10:28 Кудрявцев Сергей 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 ` Андрей Жмурин [this message] 2008-10-30 12:33 ` Кудрявцев Сергей
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=F0469C77-8B7A-41ED-AEAA-D80EACB82387@tula.net \ --to=zzh@tula.net \ --cc=community@lists.altlinux.org \ /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