WAMP: VirtualHost funktioniert nicht (Apache 2.4.9)

WAMP: VirtualHost funktioniert nicht (Apache 2.4.9)

Ich habe die Anweisungen zum Einrichten von VirtualHosts für WAMP (Apache 2.4.9) von vielen Websites befolgt, sogar die Schritt-für-Schritt-Anleitung vonforum.wampserver.comohne jegliche positive Ergebnisse.

Hier ist eine Liste meiner Dateiänderungen:

Windows\System32\Treiber\etc\Hosts

127.0.0.1   localhost
127.0.0.1   local.ruta.com.ar
::1         localhost
::1         local.ruta.com.ar

apache2.4.9\conf\httpd.conf

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

apache2.4.9\conf\extra\httpd-vhosts.conf

<VirtualHost *:80>
    ServerAdmin email@localhost
    DocumentRoot "c:/wamp/www"
    ServerName localhost
    <Directory "c:/wamp/www">
        AllowOverride All
        Options +Indexes
        Require local
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin email@ruta
    DocumentRoot "c:/wamp/www/ruta"
    ServerName local.ruta.com.ar
    ServerAlias www.local.ruta.com.ar
    ErrorLog "logs/ruta.log"
    CustomLog "logs/ruta-access.log" common
    <Directory "c:/wamp/www/ruta">
        AllowOverride All
        Options +Indexes
        Require local
    </Directory>
</VirtualHost>

Ich verwende Windows 7 64 Bit, falls das irgendwie wichtig ist. Ich weiß nicht, was ich sonst tun soll. Mir scheint alles in Ordnung zu sein, ich habe es viele Male überprüft und bekomme es nicht zum Laufen. Ich habe versucht, die Schrägstriche und die Anführungszeichen in Directoryund zu ändern DocumentRoot, alles außer zu entfernen DocumentRoot, ServerNameund Directory...

Weisen Sie mich bitte in die richtige Richtung :( Vielen Dank im Voraus!

verwandte Informationen