From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Виртуальные хосты Apache Date: Fri, 31 Oct 2008 21:22:42 +0300 Message-ID: <490B4CF2.5010809@solin.spb.ru> (raw) In-Reply-To: <49099FB0.5070603@rambler.ru> [-- Attachment #1: Type: text/plain, Size: 1084 bytes --] Кудрявцев Сергей пишет: > Желудков Д.В. пишет: >> В Чтв, 30/10/2008 в 14:34 +0300, Кудрявцев Сергей пишет: >> >>> В общем вот так: >>> # ls -l /etc/httpd2/conf/sites-enabled >>> total 8 >>> -rw-r--r-- 1 root root 1731 Oct 30 13:54 0-vhosts.conf >>> lrwxrwxrwx 1 root root 31 Jul 15 16:42 000-default.conf.save -> >>> ../sites-available/default.conf >>> -rw-r--r-- 1 root root 632 Aug 23 13:27 admin.conf >>> lrwxrwxrwx 1 root root 33 Oct 30 14:33 ports_all.conf -> >>> ../sites-available/ports_all.conf ... > > Сделал 2 файла. И опять-таки все стартует только пока хост один. > Я так понимаю что у него не получается к одному ИП прикрутить 2 хоста и > поэтому он не стартует. > host based хостинг... $ grep -R '^[[:space:]]*NameVirtualHost' /etc/httpd2/conf/sites-enabled Если выведет больше 1 строчки с одинаковыми ip -- убить лишнее. PS: При все возможные комбинации <ip>:<port> у разных директив NameVirtualHost не должны пересекаться -- иначе apache откажется стартовать (это _штатное_ поведение). -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 552 bytes --]
next prev parent reply other threads:[~2008-10-31 18:22 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 [this message] 2008-10-30 11:25 ` Андрей Жмурин 2008-10-30 12:04 ` Кудрявцев Сергей 2008-10-30 12:23 ` Андрей Жмурин 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=490B4CF2.5010809@solin.spb.ru \ --to=solo@solin.spb.ru \ --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