Wamp won't restart after setting up a virtual host
Posted by: jfgelinas (---.91-59-74.mc.videotron.ca)
Date: March 27, 2010 12:35AM

Hello everyone,

I have been using wamp for a while for dev purpose for most of my personnal project.

I generaly just use the local server as is, I do play with the server settings.

But recently I wanted to try to set up a virtual host. I'll be honest, it didn,t go super well.
It seems that whenever I add this block in my httpd-vhost.conf file;

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:/wamp/www/mylocaltest"
ServerName mylocaltest.local
ServerAlias www.mylocaltest.local

<Directory "C:/wamp/www/mylocaltest">
Options Indexes FollowSymLinks
AllowOverride All
Order Allow, Deny
allow from all

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule !\.(js|ico|swf|flv|gif|jpg|png|css|xml|php|pdf|doc|xls|txt|ppt)$ index.php [NC]
</Directory>
</VirtualHost>

The server stop working and won't restart.

I then proceeded to comment all those like and uncomment until it stop restarting.

Apparently, as soon as I declare this line;

AllowOverride All

The server stop restarting properly.

Anyone has a clue why this is happening?

Thanks in advance for your help and sorry for my poor english skills.

Options: ReplyQuote
Re: Wamp won't restart after setting up a virtual host
Posted by: yfastud (Moderator)
Date: March 27, 2010 02:00AM

for that particular folder, you dont need those lines

to setup vh, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.