OSDir.com webobjects-dev

Subject: Re: Snow Leopard Deployment


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@xxxxxxxxxxxxxxx)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>
> This email sent to probert@xxxxxxxx

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

This email sent to maillists@xxxxxxxxx

Thread at a glance:

Previous Message by Date:

Snow Leopard Deployment

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”   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@xxxxxxxxxxxxxxx) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/maillists%40codeha.us This email sent to maillists@xxxxxxxxx

Next Message by Date:

Re: Snow Leopard Deployment

Just to make sure I do not make a bad situation worsethis 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 <probert@xxxxxxxx> 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      (Webobjects-dev@xxxxxxxxxxxxxxx) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to probert@xxxxxxxx _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@xxxxxxxxxxxxxxx) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/maillists%40codeha.us This email sent to maillists@xxxxxxxxx

Previous Message by Thread:

Snow Leopard Deployment

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”   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@xxxxxxxxxxxxxxx) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/maillists%40codeha.us This email sent to maillists@xxxxxxxxx

Next Message by Thread:

Re: Snow Leopard Deployment

Just to make sure I do not make a bad situation worsethis 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 <probert@xxxxxxxx> 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      (Webobjects-dev@xxxxxxxxxxxxxxx) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to probert@xxxxxxxx _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@xxxxxxxxxxxxxxx) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/maillists%40codeha.us This email sent to maillists@xxxxxxxxx


vvv

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too! super tiny logo