Alias
Posted by: jebediah (---.customer.t3.se)
Date: March 02, 2012 03:36PM

Back again with a new problem after Wamp update.
I cant get alias to work, and i believe a did as before.

In C:\Windows\System32\drivers\etc\hosts
127.0.0.1 xxx.dev

And in C:\Temp\wamp\alias
Alias /xxx.dev "c:/temp/wamp/www/xxx/"
<Directory "c:/temp/wamp/www/xxx/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

And both
LoadModule vhost_alias_module modules/mod_vhost_alias.so
Include "c:/temp/wamp/alias/*"
is checked

As it was before i just had to type in xxx.dev in the browser to get to my site. But now i only get forwarded to localhost.



Edited 1 time(s). Last edit at 03/02/2012 03:37PM by jebediah.

Re: Alias
Posted by: stevenmartin99 (Moderator)
Date: March 02, 2012 03:50PM

this IS NOT what alias is designed for.

you should be using VHOSTS not ALIAS

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Sorry, only registered users may post in this forum.