that looks like your apache.conf has defined the ScriptAlias directive
before your WebObjectsAlias directive. Did you check the wiki for
deployment on Linux [1] (section "Apache Configuration")?
So if you want to keep the /cgi-bin part in the URL you have to comment
out the "ScriptAlias /cgi-bin" directive earlier in the apache.conf. Or
you can use another string in your WebObjectsAlias directive before
the /WebObjects, like:

...
LoadModule
WebObjects_module /usr/local/lib64/httpd/modules/mod_WebObjects.so
WebObjectsDocumentRoot /opt/Apple/Local/Library/WebServer/Documents
Alias /WebObjects /opt/Apple/Local/Library/WebServer/Documents/WebObjects
WebObjectsAlias /apps/WebObjects
<Location /apps/WebObjects>
  Order Allow,Deny
  Allow from all
</Location>
...

I read somewhere about another alternative on OSX with a
ScriptAliasMatch directive that matched the WebObjects handler part
in /cgi-bin out. But never tested this.

I think you can drop the Directory directive, as apache doesn't read
webserverresources from there.

[1] <http://wiki.wocommunity.org/display/documentation/Deploying+on
+Linux>

Am Donnerstag, den 25.10.2012, 03:06 -0700 schrieb Theodore Petrosky:
> OK so I got my DNS issue fixed and apache like it and starts. and apache -M 
> give me:
> 
> 
>  disk_cache_module (shared)
>  cgi_module (shared)
>  version_module (shared)
>  WebObjects_module (shared)
>  ssl_module (shared)
> Syntax OK
> 
> so the webobjects module is loading. I can get a direct connection to:
> http://10.1.5.100:56789 and javamonitor comes up.
> 
> I want to run javamonitor through apache so I created an app. so to make a 
> long story short, i added javamonitor.
> 
> it claims to be running. however I can not connect to the running instance.
> The requested URL /cgi-bin/WebObjects/JMonitor.woa/1 was not found on this 
> server.
> 
> JavaMonitor lives at:
> /opt/Local/Library/WebObjects/JavaApplications
> 
> and I have:
> 
> <Directory "/opt/Local/Library/WebObjects/JavaApplications">
>       AllowOverride All
>       Order allow,deny
>       Allow from all
> </Directory>
> 
> in my httpd.conf, and the permissions for javamonitor are: 
> 
> drwxr-xr-x. 3 appserver appserveradm 4096 Oct  3 15:31 JavaMonitor.woa
> 
> where am I going wrong?
> 
> Please, my head hurts.
> 
> Ted
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
> 
> This email sent to [email protected]


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

This email sent to [email protected]

Reply via email to