[Instantrails-users] use virtual host with wildcard

Tanner Burson tanner.burson at gmail.com
Tue Jun 19 09:17:30 EDT 2007


On 6/19/07, Gecke Rün <tarscher at gmail.com> wrote:
>
> 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?



I believe (I can't test this at the moment) that you'll need a host entry
like

127.0.0.1 .clubman.local

(notice the leading . )

Again, I can't swear to this, but I believe this has worked for me in the
past.

Many thanks
> Stijn
>
>
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
>



-- 
===Tanner Burson===
tanner.burson at gmail.com
http://www.tannerburson.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070619/d763dcfa/attachment-0001.html 


More information about the Instantrails-users mailing list