Le 2010-11-24 à 08:33, Ron Lift a écrit :

> Good Morning (
> 
> I am installing WebObjects On Snow Leopard server. I use the instructions 
> from the old Web Applications-Deployment-Mac OS X Server page. It had steps of
>  
> cd /System/Library/WebObjects/Adaptors/Apache2.2 mv mod_WebObjects.so 
> mod_WebObjects.so.obsolete 
> curl -C - -O 
> http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so
> cd /etc/apache2 cp httpd.conf httpd.conf.backup echo "Include 
> /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf 
> 
> apachectl restart 
> 
> cd /Library/LaunchDaemons curl -C - -O 
> http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
>  
> 
> curl -C - -O http:
> //www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist
>   
> 
> launchctl load com.apple.webobjects.wotaskd.plist 
> launchctl load com.apple.webobjects.womonitor.plist
> 
> I have monitor running and deployed an app using monitor. I can get to the 
> app using the port http://<servername>:2001.
>  
> When I use http://<servername>cgi-bin/WebObjects/<appname> I get a 404 error.
>  
> The webserver log has
> “script not found or unable to stat: 
> /Library/WebServer/CGI-Executables/WebObjects”

We got this problem when we installed everything at WO-NoVa last week. You need 
to change the following directive in httpd.conf to:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

For now, just comment out (put a # in front) the Order and Deny directives so 
it look like this:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    #Order deny,allow
    #Deny from all
</Directory>

And restart (sudo apachectl graceful) Apache. That's the not best secure option 
but it will get you running for now.

> this is some lines from the apache.conf file
> WebObjectsDocumentRoot /Library/WebServer/Documents
> WebObjectsAlias /cgi-bin/WebObjects
> WebObjectsConfig http://localhost:1085 10
>  
>  
> I can get to the wotaskd http://<servername>:1085  and using localhost:1085
> 
> I cannot get to http://<servername>/cgi-bin/WebObjects/WOAdaptorInfo I get a 
> 404 error. I saw a post with this
> “but the WOAdaptorInfo page was reporting nothing ... bingo”
> I just need to know what “bingo” is. I know when I find out I am going to say 
> “dah, I should have known that”
>  
> Thanks
> Ron Lift
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca

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

This email sent to arch...@mail-archive.com

Reply via email to