Тема: ZendServer настройка VirtualHost Apache
У меня вапрос как настроить VirtualHost Apache в ZendServer
То есть выйти на просторы интернета со своим сайтом.
Локальную папку оставить по адресу c:\zs\Apache2\htdocs\ для тестирования сайта
А основную папку для сайтов интернета WWW установить по адресу c:\WWW или c:\zs\WWW
Я читал документацию
Пример создания виртуального хоста. Я немного запутался http://php-myadmin.ru/learning/instrument-apache.html
Вот строки из моего httpd-vhosts.conf мой путь C:\zs\Apache2\conf\extra\httpd-vhosts.conf
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "C:\zs\Apache2/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "logs/dummy-host.example.com-error.log"
CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "C:\zs\Apache2/docs/dummy-host2.example.com"
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>
Как мне грамотно прописать и что
Я использую ZendServer Apache2 PHP Version 5.3.5 MySQL : Версия сервера: 5.5.15
Система Windows Vista SERVER_NAME localhost
Заранее спасибо