[Instantrails-users] Apache Config Question
mortonda at dgrmm.net
Wed Jun 7 00:02:25 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Axiom Dadak wrote:
> Hi everyone,
> I'm having a problem getting instant rails working well on apache.
> I created an alias that points to the apps' public directory and it
> works, but when I access my application it take a long long time. Over
> 3 minutes sometimes. But it does always work, just painfully slow. I
> think it has to do with scgi but I'm unsure how to speed it up.
A rails application usually expects to run as a virtual host, not as a
subdirectory, which is what an alias will do.
To make it work, you need to edit the .htaccess file to include the new path,
and maybe some other hacks. Something about a routing prefix....
Some links I turned up...
Maia Mailguard - http://www.maiamailguard.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Instantrails-users