http://makegood.ru/tools/xampp/ зделал все как тут пишет, прописиваю в адресной строке www.blog.local меня переадресовует в поисковик, как всегда)
ошибка в logs файле error
| Цитата | [Sun Aug 31 08:17:24.573268 2014] [authz_core:error] [pid 7452:tid 1664] [client 127.0.0.1:52850] AH01630: client denied by server configuration: C:/my_projects/blog.local/www/ [Sun Aug 31 08:17:30.206590 2014] [authz_core:error] [pid 7452:tid 1664] [client 127.0.0.1:52949] AH01630: client denied by server configuration: C:/my_projects/blog.local/www/ [Sun Aug 31 08:20:51.505104 2014] [authz_core:error] [pid 7452:tid 1664] [client 127.0.0.1:53207] AH01630: client denied by server configuration: C:/my_projects/blog.local/www/ [Sun Aug 31 08:21:02.100710 2014] [authz_core:error] [pid 7452:tid 1664] [client 127.0.0.1:53274] AH01630: client denied by server configuration: C:/my_projects/blog.local/www/
|
содержимое файла httpd-vhosts.conf.
| Код | # Virtual Hosts # # Required modules: mod_log_config
# 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.4/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 [email protected] ##DocumentRoot "C:/xampp/htdocs/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 [email protected] ##DocumentRoot "C:/xampp/htdocs/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>
NameVirtualHost *:80
<VirtualHost *:80> DocumentRoot "C:\xampp\htdocs" ServerName localhost </VirtualHost>
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:\my_projects\blog.local\www" ServerName "blog.local" ServerAlias "www.blog.local" "www.blog.local" ErrorLog "C:\my_projects\blog.local\logs\error.log" CustomLog "C:\my_projects\blog.local\logs\access.log" combined <Directory "C:\my_projects\blog.local\www"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
|
|