Configuring a Wamp virtual host

Sorry for the fact that you have a similar question that everything was published ready, but others do not help me. I am trying to set up a virtual host on my computer with Windows 8, but I can’t get it working no matter which tutorial or help section I follow, this is my setup so far.

HTTPD-vhosts.conf

# Virtual Hosts
#
# Required modules: mod_log_config

Listen 80

<VirtualHost *:80>
    ServerAdmin admin@localhost.com
    DocumentRoot "C:\Program Files (x86)\2. Apps\Wamp\www"
    ServerName localhost
    <Directory "C:/wamp/www">
                Options Indexes FollowSymLinks
            Order allow,deny
            Allow from all
        </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin admin@localhost.com
    DocumentRoot "C:\Users\Chris\Documents\Projects\testsite\Site"
    ServerName testingsite
    ServerAlias testingsite
    <directory "C:\Users\Chris\Documents\Projects\testsite\Site">
        Options Indexes FollowSymLinks
        Order Allow,Deny
        Allow from all
    </directory>
</VirtualHost>

the owners

# Wamp Server Settings
127.0.0.1       localhost
127.0.0.1       testingsite

httpd.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

If I try to start wamp, the icon will turn orange. If I run httpd.exe from the command line, I get the following error:

C:\Program Files (x86)\2. Apps\Wamp\bin\apache\apache2.4.2\bin>httpd.exe
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted.  : AH00072: make_sock: could not bind to address [::]:80
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted.  : AH00072: make_sock: could not bind to address 0.0.0.0:
80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

I read that another program can block it or my firewall, but I do not know how to fix it, any ideas?

thank

+5
source share
1 answer

Thanks for the contribution, there were two main problems

wamp , , c:/folder/folder with a space/wamp/, , - , , , .

-, ipv6, , wamp ipv4, httpd.conf find Listen 80 Listen 0.0.0.0:80. , , - , , .

, - .

+3

All Articles