Alexey Sidorov пишет: > Здравствуйте. > Помогите настроить 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 > > Что не так?
1. Какая версия apache2 используется? 2. поищите _default_ в /etc/httpd2/conf PS: mod_ssl стоит и настроен? -- С уважением. Алексей.
signature.asc
Description: PGP signature
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Sysadmins mailing list [email protected] https://lists.altlinux.org/mailman/listinfo/sysadmins
