[Instantrails-users] use virtual host with wildcard

Gecke Rün tarscher at gmail.com
Tue Jun 19 04:02:27 EDT 2007


Hi all,

I want to use a virtual host server on my local pc (Windows XP). Something
like *.myserver.local . I can easily configure www.myserver.local but the
wildcard *.myserver.local doesn't seem to work. I thus want to be able to go
to test.myserver.local as random.myserver.local, hello.myserver.local (and
so on)

In my Windows HOSTS file:
127.0.0.1       localhost
127.0.0.1       *.clubman.local

In my Apache conf file:
<VirtualHost *>
    ServerName www.clubman.local
    ServerAlias *.clubman.local
    ProxyPass / http://localhost:3002/
    ProxyPassReverse / http://localhost:3002
</VirtualHost>

Someone has an idea on how to solve this?

Many thanks
Stijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070619/4cb0ea68/attachment.html 


More information about the Instantrails-users mailing list