Re: mod_rewrite & WO
Chuck Hill <[email protected]> Tue, 2 Nov 2004 08:20:56 -0800
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
I thought it was an Apache thing: modules are processed in the reverse order listed in the config file. At least "Apache is backwards" is how I have always remembered this. :-) Rewrite processing needs to occur before an appserver adaptor gets the request. IIRC, it is just the order of Add and/or Load statements in the config file that matters, not what is built into the binary. But is has been a while now... Chuck On Nov 2, 2004, at 6:06 AM, Will Scheidegger wrote: > As I said, it seems like rewriting a WO URL only works, when > mod_WebObjects is loaded before mod_rewrite. This somehow makes sense > because one could argue that if mod_rewrite handles the URL before it > knows anything about WO, it could not pass it on to WO.... > > BUT why does the same thing work with mod_weblogic? > > Is this an other bug in mod_WebObjects? It it fixed in the WONDER > adaptor? Any other work arrounds? > > Thanks! > > -Will > > On 02.11.2004, at 12:09, Jürgen Lorenz Simon wrote: > >> >> Hello Will, >> >> On 2 Nov 2004, at 11:34, Will Scheidegger wrote: >> >>> I'm in trouble! We need to use mod_rewrite with mod_WebObjects, but >>> our Apache has mod_rewrite included already, i.e. it's not being >>> loaded. So there's no way I can influence the order in which the two >>> modules are loaded. mod_rewrite does not work with WO if >>> mod_WebObjects is not loaded _before_ mod_rewrite as far as I know. >>> Is there an other trick or do we really have to recompile our Apache >>> without mod_rewrite? >> >> Not sure about this, but could you try to switch on mod_rewrite only >> after the >> webobjects module has been loaded? There should be a line: >> >> RewriteEngine On >> >> somewhere in the apache configs. Try to comment it out and switch it >> on after >> you loaded mod_WebObjects using >> >> RewriteEngine Off >> >> Hope it helps, >> >> J.L.Simon >> > > _______________________________________________ > WebObjects-admin mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-admin > > -- Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems. http://www.global-village.net/products/practical_webobjects