question
I have tried all kinds of questions on this And read on the subject it can not get to work, I'm trying to use a virtual host to use a different folder than default / www that wamp uses but I get an error I am doing;
Forbidden You do not have permission to access / on this server I can use the local host and phpmyadmin completely, but no one Can not even make a virtual host
httpd-vhosts.conf # virtual host # # Required modules: mod_log_config 80 Listen; VirtualHost *: 80 & gt; ServerAdmin admin@localhost.com DocumentRoot "C: \ Program Files (x86) \ 2. Apps \ Wamp \ www" ServerName Local Hosts & lt; Directory "C: / wamp / www" & gt; Option Index Allow follow sequence, deny all & lt; / Directory & gt; & Lt; / VirtualHost & gt; & Lt; VirtualHost *: 80 & gt; ServerAdmin admin@localhost.com DocumentRoot "C: \ User \ Chris \ Documents \ Ciniball Files \ Projects \ Test" ServerName Test.lo ServerAllis test.lo & lt; Directory "C: \ User \ Chris \ Document \ CibUn files \ Projects \ Test" & gt; Follow the options index. Simlinks include ExecCGI AllowOverride to order, deny all 127.0.0.1 from & lt; / Directory & gt;
Host
# Wamp Server Settings 127.0.0.1 localhost 127.0.0.1 test.lo httpd.conf
Include # virtual host conf / extra / httpd-vhosts.conf < Thanks to the input of all /, the two main problems were thanks
I have installed a wamp in a folder, which was nested in a folder that has a place named in which c: / folder / is a space / wamp / What I have with someone, if anyone knows why please tell, then bad practice is.
There were problems with Internet Protocol, IPv6, so to solve it, you only need to make sure to use IPv4, inside httpd.conf Find listen to 80 and change to 0.0.0.0:80 .
I hope this helps in trapping someone else.