Re: no CGI-Executables/WebObjects installed
Re: no CGI-Executables/WebObjects installed
- Subject: Re: no CGI-Executables/WebObjects installed
- From: Chuck Hill <email@hidden>
- Date: Wed, 30 Dec 2009 19:31:46 -0800
I think that your Apache config is messed up. Are you configuring
virtual hosts?
Check the Directory config here:
http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Apache
http://wiki.objectstyle.org/confluence/display/WO/Running+Through+Apache+-+Leopard+Client+10.5.5+-+Summary
Also:
http://wiki.objectstyle.org/confluence/dosearchsite.action?searchQuery.queryString=+directory++apache&searchQuery.spaceKey=conf_global
Chuck
On Dec 30, 2009, at 7:08 PM, Jeff Schmitz wrote:
Does apache.conf is included in httpd.conf? In /etc/apache2/
httpd.conf, you should have this :
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
Yes, this has been there all along. and the apache.conf file does
exist.
Jeff
On Dec 30, 2009, at 8:00 PM, Pascal Robert wrote:
Le 09-12-30 à 18:51, Jeff Schmitz a écrit :
Hello,
I used migration to migrate my data from a Leopard server to a
snow leopard server. I then installed my webobjects app and
started it with Monitor for WebObjects. That all seemed to work
without problem. However, when I try to navigate to the app with:
http://localhost/cgi-bin/WebObjects/netBrackets
I get a 404 error. Looking at the httpd error logs I see:
script not found or unable to stat: /Library/WebServer/CGI-
Executables/WebObjects
I then tried to install WO using the installer here:
http://support.apple.com/kb/DL688
I restarted apache and am still getting the error. I have
verified that the .../CGI-Executables/WebObjects script still does
NOT exist.
And it shouldn't exist, it should run as a Apache module.
Shouldn't this have been installed by the installer? I guess I
could copy the one over from my Leopard Server, but I'm afraid
perhaps something else didn't get installed correctly. Any
suggestions on how to proceed?
As a note, I have done the things outlined below:
- Download & install WO 5.4.3 for 10.5 from ADC
- cd /Developer/Examples/JavaWebObjects/Deployment/
- sudo sh configure.sh
- Test: http://127.0.0.1:1085 -> wotaskd works
- Test: http://127.0.0.1:56789 -> WOMonitor works
- edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf :
Uncomment Line "WebObjectsAdminUsername public"
Does apache.conf is included in httpd.conf? In /etc/apache2/
httpd.conf, you should have this :
Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
If not, add it and restart Apache.
- Restart apache: sudo apachectl restart
Thanks,
Jeff
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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