• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Snow Leopard Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Leopard Deployment


  • Subject: Re: Snow Leopard Deployment
  • From: Ron Lift <email@hidden>
  • Date: Wed, 24 Nov 2010 09:00:13 -0500

Just to make sure I do not make a bad situation worse
this is snippets of my /ect/apache2/httpd.conf

<Directory "/">
    Options FollowSymLinks
    AllowOverride None
</Directory>

<DirectoryMatch ".*\.\.namedfork">
    Order allow,deny
    Deny from all
    Satisfy All
</DirectoryMatch>

<Directory "/Library/WebServer/share/httpd/manual">
                Options Indexes
                AllowOverride None
                Order allow,deny
                Allow from all ........

#DocumentRoot "/var/empty"
DocumentRoot "/Library/WebServer/Documents"
ErrorLog "/var/log/apache2/error_log"
<Directory "/var/empty">
    Order Deny,Allow
    Deny from All
</Directory>


The root directory lines do not have the order and deny settings

I did comment the
#DocumentRoot "/var/empty"
and added
DocumentRoot "/Library/WebServer/Documents"

Should i change any of these lines?


On Wed, Nov 24, 2010 at 8:43 AM, Pascal Robert <email@hidden> wrote:

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      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Snow Leopard Deployment (From: Ron Lift <email@hidden>)
 >Re: Snow Leopard Deployment (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Snow Leopard Deployment
  • Next by Date: Re: otherclasspath option in maven?
  • Previous by thread: Re: Snow Leopard Deployment
  • Next by thread: Re: Snow Leopard Deployment
  • Index(es):
    • Date
    • Thread