[Solved... and next problem]: mod_rewrite & WO
Will Scheidegger <[email protected]> Sat, 6 Nov 2004 19:37:16 +0100
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
Quick recap of my problem: Because we're now using an apache with many modules already integrated, I thought I could not influence the order in which they're loaded. This had the effect that mod_rewrite did not work anymore with mod_webobjects. Solution: 1. clear the module list with this statement in the apache conf file: ClearModuleList 2. add the modules (including the ones that come integrated in apache) in the order you want: AddModule mod... AddModule mod_WebObjects.c AddModule mod_rewrite.c AddModule mod... Next problem: I cannot include WO output with mod_include on this server. I've got a static page which should include WO generated html like so: <!--#include virtual="/cgi-bin/WebObjects/DerGartenbau.woa/wa/AdManagerAction/ banner?type=1&count=3&rowHeight=75" --> Instead of the desired HTML I only get: No instance available A look at the WO adapter output shows that it somehow cannot reach the app. When I copy-paste the URL into the browser, everything works fine tough. Therefore I suspect some bug in the WO adapter. I did find some hints pointing in that direction in the archives... but could not find a solution! And don't ask me how I made it work on the old server. I don't know. Anyone any ideas? Thanks! -Will