On 20/07/2008, at 9:03 AM, Darren VanBuren wrote:
On Jul 19, 2008, at 2:44 PM, Aurelien Minet wrote:
Darren VanBuren a écrit :
$ tail -1 /private/etc/apache2/httpd.conf
Include /private/etc/apache2/other/*.conf

I have that Include.
## I've symlinked webobjects.conf to point to the WO conf
$ ls -l /private/etc/apache2/other/webobjects.conf
lrwxr-xr-x 1 root wheel 57 14 May 12:40 /private/etc/apache2/ other/webobjects.conf -> /System/Library/WebObjects/Adaptors/ Apache2.2/apache.conf

I've done that and restarted Apache. Now I get this in my error_log:

[Sat Jul 19 10:39:43 2008] [warn] module WebObjects_module is already loaded, skipping

looks like the module is loaded, so the question is why and where ? with which configuration ?
I checked WOAdaptorInfo and it gave a 404.
looks like it isn't loaded or it's not configured or the URL is "over-handled" by another module.
Also, I do have a ScriptAliasMatch that looks like this:

ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/ WebServer/CGI-Executables/$1"

comment any ScripAlias or ScriptAliasMatch (at least for testing) (WebObjects is not webobjects)

The '?i:' means ignore case. So WebObjects and webobjects would both match :-)

I commented everything to do with cgi-bin and reloaded apache. I still have a 404. as mod_WebObjects must be loaded (I haven't checked with the last version) after mod_rewrite you may in your httpd.conf have:
(in this order)
LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so
LoadModule rewrite_module /...../mod_rewrite.so
(comment the line where mod_WebObjects was initially loaded)
mod_WebObjects is loaded after the rewrite module.

Disable mod rewrite for now and just get WO working. It might be complicating things...

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to