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
begin:vcard
fn:Philippe Laliberte
n:Laliberte;Philippe
email;internet:[EMAIL PROTECTED]
tel;work:+44 2071 005 712
tel;home:+1 418 907 9257
note:Public Certificate and PGP Key available
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to