
31.08.2012, 13:09
|
|
Постоянный
Регистрация: 13.12.2009
Сообщений: 825
С нами:
8636885
Репутация:
0
|
|
Посмотрите файл виртуальных хостов vhosts.conf
который лежит здесь
Код:
Код:
\usr\local\apache\conf
Там написано:
Код:
Код:
# Если вы хотите по умолчанию запускать Apache на порту, отличном от 80,
# измените номер порта в следующей далее директиве.
#
Listen 127.0.0.1:80
NameVirtualHost 127.0.0.1:80
# DocumentRootMatch "/home/(?!cgi-)(.*)^1/(?!cgi$|cgi-)(.*)"
# DocumentRootMatch "/home/(?!cgi-)(.*)/public_html^1"
# DocumentRootMatch "/home/(?!cgi-)(.*)/public^1"
# DocumentRootMatch "/home/(?!cgi-)(.*)^1/html/(.*)"
# DocumentRootMatch "/home/(?!cgi-)(.*)^1/domains/(?!cgi$|cgi-)(.*)"
# DocumentRootMatch "/var/www/html/(?!cgi-)~(.*)^1/(?!cgi$|cgi-)(.*)"
DocumentRoot "Z:/home/localhost/www"
ServerName "localhost"
ServerAlias "localhost" "www.localhost"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
|
|
|