Listen 80<VirtualHost *:80>
DocumentRoot /aaa
ServerName www.aaa.ru
ServerPath /aaa
ScriptAlias /cgi-bin /aaa/cgi-bin
Options ExecCGI IncludesNOEXEC Indexes
AddDefaultCharset windows-1251
</VirtualHost><VirtualHost *:80>
DocumentRoot /bbb
ServerName www.bbb.ru
ServerPath /bbb
ScriptAlias /cgi-bin /bbb/cgi-bin
Options ExecCGI IncludesNOEXEC Indexes
AddDefaultCharset windows-1251
</VirtualHost>
При обращении на www.bbb.ru грузит содержимое www.aaa.ru
Что не так?
>Listen 80
>
><VirtualHost *:80>
>DocumentRoot /aaa
>ServerName www.aaa.ru
>ServerPath /aaa
>ScriptAlias /cgi-bin /aaa/cgi-bin
>Options ExecCGI IncludesNOEXEC Indexes
>AddDefaultCharset windows-1251
></VirtualHost>
>
><VirtualHost *:80>
>DocumentRoot /bbb
>ServerName www.bbb.ru
>ServerPath /bbb
>ScriptAlias /cgi-bin /bbb/cgi-bin
>Options ExecCGI IncludesNOEXEC Indexes
>AddDefaultCharset windows-1251
></VirtualHost>
>
>
>При обращении на www.bbb.ru грузит содержимое www.aaa.ru
>Что не так?
Может, NameVirtualHost * не хватает?
The character *, which is used only in combination with NameVirtualHost * to match all IP addresses