Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
%SYSTEMROOT%\System32\drivers\etc
127.0.0.1 localhost
А если так? Для просмотра ссылки Войдиили Зарегистрируйся?
но ко всем доменам приходится дописывать порт 8080, можно как то сделать чтобы денвер сам по умолчанию использовал этот порт? (впринципи не критично, но для удобства не помешало бы
)Когда я говорил снети, я подразумевал не обновить поверх, а установить начисто.
\usr\local\apache\conf
# Если вы хотите по умолчанию запускать Apache на порту, отличном от 80,
# измените номер порта в следующей далее директиве.
#
Listen 127.0.0.1:80
NameVirtualHost 127.0.0.1:80
<VirtualHost 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" "[url="http://www.localhost"]www.localhost[/url]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
## Если вы хотите по умолчанию запускать Apache на порту, отличном от 80,
## измените номер порта в следующей далее директиве.
##
Listen 127.0.0.1:8080
#NameVirtualHost $&{ip:-127.0.0.1}:$&{port:-8080}
#<VirtualHost $&{ip:-127.0.0.1}:$&{port:-8080}>
# 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 "$&"
# ServerName "%&/-www"
# ServerAlias "%&/-www" "%&/-www/www" $&{host:-}
#
# $&{directives:-}
#
# ScriptAlias /cgi/ "$^1/cgi/"
# ScriptAlias /cgi-bin/ "$^1/cgi-bin/"
#</VirtualHost>
# ВНИМАНИЕ!
#
# Данный файл был сгенерирован автоматически. Любые изменения, внесенные в
# него, потеряются после перезапуска Денвера. Если вы хотите изменить
# параметры какого-то отдельного хоста, вам необходимо перенести
# соответствующий блок <VirtualHost> в httpd.conf (там написано, куда именно).
#
# Пожалуйста, не изменяйте этот файл.
#
# ВНИМАНИЕ!
#
# Данный файл был сгенерирован автоматически. Любые изменения, внесенные в
# него, потеряются после перезапуска Денвера. Если вы хотите изменить
# параметры какого-то отдельного хоста, вам необходимо перенести
# соответствующий блок <VirtualHost> в httpd.conf (там написано, куда именно).
#
# Пожалуйста, не изменяйте этот файл.
#
# Host /home/localhost/www (1):
#
# НАЧАЛО ШАБЛОНА ВИРТУАЛЬНОГО ХОСТА.
#
# Если вы хотите по умолчанию запускать Apache на порту, отличном от 80,
# измените номер порта в следующей далее директиве.
#
Listen 127.0.0.1:80
NameVirtualHost 127.0.0.1:80
<VirtualHost 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/"
</VirtualHost>
# Host /home/localhost/www (2):
Listen 127.0.0.1:443
NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "Z:/home/localhost/www"
ServerName "localhost"
ServerAlias "localhost" "www.localhost"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>

#
# ВНИМАНИЕ!
#
# Данный файл был сгенерирован автоматически. Любые изменения, внесенные в
# него, потеряются после перезапуска Денвера. Если вы хотите изменить
# параметры какого-то отдельного хоста, вам необходимо перенести
# соответствующий блок <VirtualHost> в httpd.conf (там написано, куда именно).
#
# Пожалуйста, не изменяйте этот файл.
#
# Host /home/localhost/www (1:(
NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
# 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 "F:/home/localhost/www"
ServerName "localhost"
ServerAlias "localhost" "[URL='http://www.localhost']www.localhost[/URL]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/localhost/www (2:(
Listen 127.0.0.1:443
NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/localhost/www"
ServerName "localhost"
ServerAlias "localhost" "[URL='http://www.localhost']www.localhost[/URL]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/custom/www (3:(
NameVirtualHost 127.0.0.2:8648
<VirtualHost 127.0.0.2:8648>
DocumentRoot "F:/home/custom/www"
ServerName "custom"
ServerAlias "custom" "[URL='http://www.custom']www.custom[/URL]" custom-host
ScriptAlias /cgi/ "/home/custom/cgi/"
ScriptAlias /cgi-bin/ "/home/custom/cgi-bin/"
</VirtualHost>
# Host /home/custom/www (4:(
Listen 127.0.0.2:443
NameVirtualHost 127.0.0.2:443
<VirtualHost 127.0.0.2:443>
SSLEngine on
DocumentRoot "F:/home/custom/www"
ServerName "custom"
ServerAlias "custom" "[URL='http://www.custom']www.custom[/URL]" custom-host
ScriptAlias /cgi/ "/home/custom/cgi/"
ScriptAlias /cgi-bin/ "/home/custom/cgi-bin/"
</VirtualHost>
# Host /home/localhost/subdomain (5:(
#NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
DocumentRoot "F:/home/localhost/subdomain"
ServerName "subdomain.localhost"
ServerAlias "subdomain.localhost" "[URL='http://www.subdomain.localhost']www.subdomain.localhost[/URL]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/localhost/subdomain (6:(
#Listen 127.0.0.1:443
#NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/localhost/subdomain"
ServerName "subdomain.localhost"
ServerAlias "subdomain.localhost" "[URL='http://www.subdomain.localhost']www.subdomain.localhost[/URL]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/subdomain (7:(
#NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
DocumentRoot "F:/home/test1.ru/subdomain"
ServerName "subdomain.test1.ru"
ServerAlias "subdomain.test1.ru" "[URL='http://www.subdomain.test1.ru']www.subdomain.test1.ru[/URL]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/subdomain (8:(
#Listen 127.0.0.1:443
#NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/test1.ru/subdomain"
ServerName "subdomain.test1.ru"
ServerAlias "subdomain.test1.ru" "[URL='http://www.subdomain.test1.ru']www.subdomain.test1.ru[/URL]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/www (9:(
#NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
DocumentRoot "F:/home/test1.ru/www"
ServerName "test1.ru"
ServerAlias "test1.ru" "[URL='http://www.test1.ru']www.test1.ru[/URL]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/www (10:(
#Listen 127.0.0.1:443
#NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/test1.ru/www"
ServerName "test1.ru"
ServerAlias "test1.ru" "[URL='http://www.test1.ru']www.test1.ru[/URL]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
вы его фактически уже перенесли. Пробуйте убрать его из vhosts.confЕсли вы хотите изменить
# параметры какого-то отдельного хоста, вам необходимо перенести
# соответствующий блок <VirtualHost> в httpd.conf
#
# ВНИМАНИЕ!
#
# Данный файл был сгенерирован автоматически. Любые изменения, внесенные в
# него, потеряются после перезапуска Денвера. Если вы хотите изменить
# параметры какого-то отдельного хоста, вам необходимо перенести
# соответствующий блок <VirtualHost> в httpd.conf (там написано, куда именно).
#
# Пожалуйста, не изменяйте этот файл.
#
# Host /home/localhost/www (1):
NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
# 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 "F:/home/localhost/www"
ServerName "localhost"
ServerAlias "localhost" "[url="http://www.localhost"]www.localhost[/url]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/localhost/www (2):
Listen 127.0.0.1:443
NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/localhost/www"
ServerName "localhost"
ServerAlias "localhost" "[url="http://www.localhost"]www.localhost[/url]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/custom/www (3):
NameVirtualHost 127.0.0.2:8648
<VirtualHost 127.0.0.2:8648>
DocumentRoot "F:/home/custom/www"
ServerName "custom"
ServerAlias "custom" "[url="http://www.custom"]www.custom[/url]" custom-host
ScriptAlias /cgi/ "/home/custom/cgi/"
ScriptAlias /cgi-bin/ "/home/custom/cgi-bin/"
</VirtualHost>
# Host /home/custom/www (4):
Listen 127.0.0.2:443
NameVirtualHost 127.0.0.2:443
<VirtualHost 127.0.0.2:443>
SSLEngine on
DocumentRoot "F:/home/custom/www"
ServerName "custom"
ServerAlias "custom" "[url="http://www.custom"]www.custom[/url]" custom-host
ScriptAlias /cgi/ "/home/custom/cgi/"
ScriptAlias /cgi-bin/ "/home/custom/cgi-bin/"
</VirtualHost>
# Host /home/localhost/subdomain (5):
#NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
DocumentRoot "F:/home/localhost/subdomain"
ServerName "subdomain.localhost"
ServerAlias "subdomain.localhost" "[url="http://www.subdomain.localhost"]www.subdomain.localhost[/url]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/localhost/subdomain (6):
#Listen 127.0.0.1:443
#NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/localhost/subdomain"
ServerName "subdomain.localhost"
ServerAlias "subdomain.localhost" "[url="http://www.subdomain.localhost"]www.subdomain.localhost[/url]"
ScriptAlias /cgi/ "/home/localhost/cgi/"
ScriptAlias /cgi-bin/ "/home/localhost/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/subdomain (7):
#NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
DocumentRoot "F:/home/test1.ru/subdomain"
ServerName "subdomain.test1.ru"
ServerAlias "subdomain.test1.ru" "[url="http://www.subdomain.test1.ru"]www.subdomain.test1.ru[/url]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/subdomain (8):
#Listen 127.0.0.1:443
#NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/test1.ru/subdomain"
ServerName "subdomain.test1.ru"
ServerAlias "subdomain.test1.ru" "[url="http://www.subdomain.test1.ru"]www.subdomain.test1.ru[/url]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/www (9):
#NameVirtualHost 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
DocumentRoot "F:/home/test1.ru/www"
ServerName "test1.ru"
ServerAlias "test1.ru" "[url="http://www.test1.ru"]www.test1.ru[/url]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>
# Host /home/test1.ru/www (10):
#Listen 127.0.0.1:443
#NameVirtualHost 127.0.0.1:443
<VirtualHost 127.0.0.1:443>
SSLEngine on
DocumentRoot "F:/home/test1.ru/www"
ServerName "test1.ru"
ServerAlias "test1.ru" "[url="http://www.test1.ru"]www.test1.ru[/url]"
ScriptAlias /cgi/ "/home/test1.ru/cgi/"
ScriptAlias /cgi-bin/ "/home/test1.ru/cgi-bin/"
</VirtualHost>