ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] vhosts в apache2
@ 2007-03-06 11:03 Alexey Sidorov
  2007-03-06 15:00 ` [Sysadmins] vhosts Б apache2 Aleksey Avdeev
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Sidorov @ 2007-03-06 11:03 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Здравствуйте.
Помогите настроить vhosts by name

прописываю:
/etc/httpd2/httpd2.conf:
Listen *:80
<Directory "/var/www/vhosts">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
Include conf/vhost.d/A.*.conf

/etc/httpd2/conf/vhost.d/A.1.conf:
<VirtualHost *:80>
    DocumentRoot /var/www/vhosts/serv1
    ServerName serv1
</VirtualHost>

/etc/httpd2/conf/vhost.d/A.2.conf:
<VirtualHost *:80>
    DocumentRoot /var/www/vhosts/serv2
    ServerName serv2
</VirtualHost>

получаю:
alex:alexlin ~$ sudo service httpd2 restart
Stopping httpd2 service:                                                                          [
DONE ]
Checking configuration sanity for httpd2:  [Tue Mar 06 13:56:53 2007] [warn] _default_ VirtualHost
overlap on port 80, the first has precedence
Syntax OK
                                                                                                  [
DONE ]
Starting httpd2 service: [Tue Mar 06 13:56:53 2007] [warn] _default_ VirtualHost overlap on port 80,
the first has precedence

Что не так?

-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-03-19 16:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-06 11:03 [Sysadmins] vhosts в apache2 Alexey Sidorov
2007-03-06 15:00 ` [Sysadmins] vhosts Б apache2 Aleksey Avdeev
2007-03-07  8:11   ` Alexey Sidorov
2007-03-16 22:51     ` Michael Shigorin
2007-03-17 10:35       ` Ivan Fedorov
2007-03-17 21:04       ` Aleksey Avdeev
2007-03-18 19:38         ` Michael Shigorin
2007-03-19 16:41           ` Aleksey Avdeev

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git