1

I am not very experienced with configuring httpd, and I am following a tutorial to view my site w/ domain name under localhost. My localhost just blanks out and my apache services won't restart.

I checked all of my paths and they are correct.

I am editing the windows/system32/drivers/etc/hosts file and my apache httpd file.

This is what I am putting in my hosts file: 127.0.0.1 www.cars_v1.0.com.localhost

And in the footer of my httpd file I am putting this:

<VirtualHost 127.0.0.1:80>
ServerName www.cars_v1.0.com.localhost
DocumentRoot "C:\wamp\www\symfony\cars_v1.0\web"
  DirectoryIndex index.php
  <Directory "C:\wamp\www\symfony\cars_v1.0\web">
    AllowOverride All
    Allow from All
  </Directory>

  Alias /sf C:\wamp\www\symfony\cars_v1.0\lib\vendor\symfony-1.4.8\data\web\sf
  <Directory "C:\wamp\www\symfony\cars_v1.0\lib\vendor\symfony-1.4.8\data\web\sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>
Khaled
  • 36,533
  • 8
  • 72
  • 99
OldWest
  • 141
  • 1
  • 7

1 Answers1

1

Duh! I solved this. I accidentally had a

<!-- 

tag in the directive!

OldWest
  • 141
  • 1
  • 7