[Rails] Avoid parsing URL in Apache conf?
Han Holl
han.holl at informationslogik.nl
Fri Nov 19 17:53:15 GMT 2004
On Friday 19 November 2004 17:18, Tobias Luetke wrote:
> > Also, using mod_rewrite in a per directory setting is evil, and should,
> > according to both Apache and mod_rewrite docs, be used only if there is
> > absolutely no other alternative.
>
> For which reason, Performance ?
Yes, mainly. Per directory is too late, really, so after rewriting the new URL
is done again in a subrequest. And apache has to look at all .htaccess files
in all ancestors of the home directory.
Cheers,
Han Holl
More information about the Rails
mailing list