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
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
I''m about 95% sure that you''ll need to setup a dns server to do wildcards. I don''t think the hosts file supports wildcards. You can probably work around that by just entering in a few entries that you know you''ll be testing/developing with. 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? > > Many thanks > Stijn > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-- Jim Geurts CEO/Founder, Bia Creations http://biacreations.com Phone: 414.213.1903 Fax: 414.294.3702 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070619/5311e8a2/attachment.html
I indeed got it confirmed by a microsoft newsgroup that I can''t use wildcards. I indeed need a DNS. Stijn On 6/19/07, Jim Geurts <jim at biacreations.com> wrote:> > I''m about 95% sure that you''ll need to setup a dns server to do > wildcards. I don''t think the hosts file supports wildcards. You can > probably work around that by just entering in a few entries that you know > you''ll be testing/developing with. > > 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? > > > > Many thanks > > Stijn > > > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > -- > Jim Geurts > CEO/Founder, Bia Creations > http://biacreations.com > Phone: 414.213.1903 > Fax: 414.294.3702 > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070620/b940c157/attachment.html