<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Vapor .. wrote:
<blockquote cite="mid:06d8ecc57bab5013527da0fd29bc0ba2@ruby-forum.com"
type="cite">
<pre wrap="">Vapor .. wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I have deployed an app on Windows XP with Apache and Mongrel. I can
access my app with <a class="moz-txt-link-freetext" href="http://machinename">http://machinename</a>. This is more of a Apache
question: how can I make it like <a class="moz-txt-link-freetext" href="http://machinename/myapp">http://machinename/myapp</a> ?
Thanks in advance.
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
There are a couple of ways to do this.<br>
<br>
1- You use an internal proxypass to route only /myapp to mongrel (first
exclude everything then pass /myapp to mongrel)<br>
2- you use aliases and no mongrel<br>
3- you use different ports for each type off application and with a
permanent redirect you redirect /myapp<br>
4- You use multiple domain or subdomain names myapp.machinename and
virtualhosting.<br>
<br>
Have a read of virtual hosting aspects in apache and mongrel. That is
where you will find what you need.<br>
<br>
<br>
Cheers,<br>
<br>
Philippe<br>
</body>
</html>