Re: mod_rewrite & WO
Will Scheidegger <[email protected]> Tue, 2 Nov 2004 15:06:45 +0100
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
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 >