Vapor .. wrote:> Vapor .. wrote:
>
>> I have deployed an app on Windows XP with Apache and Mongrel. I can
>> access my app with http://machinename. This is more of a Apache
>> question: how can I make it like http://machinename/myapp ?
>> Thanks in advance.
>>
>
> well actually I have one php app and other rails app that I want to host
> on single windows machine...rails seems to override the other app.
>
There are a couple of ways to do this.
1- You use an internal proxypass to route only /myapp to mongrel (first
exclude everything then pass /myapp to mongrel)
2- you use aliases and no mongrel
3- you use different ports for each type off application and with a
permanent redirect you redirect /myapp
4- You use multiple domain or subdomain names myapp.machinename and
virtualhosting.
Have a read of virtual hosting aspects in apache and mongrel. That is
where you will find what you need.
Cheers,
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/mongrel-users/attachments/20080208/5d633278/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arsphl.vcf
Type: text/x-vcard
Size: 232 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/mongrel-users/attachments/20080208/5d633278/attachment.vcf