НеУчаcтник+


Зарегистрирован: Mar 2002
Место проживания:
Публикаций: 270
Статус:  |
ok
quote:
По всей видимости у тебя хост имеет 2-а адреса, так?
Настроен ли у тебя второй IP в сетевом окружении?
а всякая ботва типа пингов и т.д?
NameVirtualHost --это очень критично.
Если хочешь получить полный ответ, давай полную информацию!!
Возьми этот вариант
ServerName empire-kz.com
DocumentRoot "c:/www"
<Directory "c:/www">
Options Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "c:/php">
AllowOverride None
Options ExecCGI
</Directory>
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
<VirtualHost 127.0.0.2>
ServerName www.empire-kz.com
ServerAdmin webmaster@empire-kz.com
DocumentRoot "c:/www/server1"
<Directory "c:/www/server1">
Options Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "c:/www/server1/cgi-bin/"
ErrorLog "c:/www/server1/error.log"
CustomLog "c:/www/server1/custom.log" common
</VirtualHost>
<VirtualHost 127.0.0.3>
ServerName chat.empire-kz.com
ServerAdmin webmaster@empire-kz.com
DocumentRoot "c:/www/server2"
<Directory "c:/www/server2">
Options Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "c:/www/server2/cgi-bin/"
ErrorLog "c:/www/server2/error.log"
CustomLog "c:/www/server2/custom.log" common
</VirtualHost>
Сообщить модератору об этом сообщении | Предупреждение | IP: определен
|