Apologies for repeating this, I accidentally sent it to only the Omni
list instead of the Apple one.
------
Hello,
When I now do a diff between the updated 'httpd.conf' and the backup
I made before I got WebObjects installed and working, this was the
results:
diff httpd.conf httpd.conf.backup
------------------------
1197d1196
< # ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/
1373,1377d1371
< <Proxy "disabled_proxy">
< Allow from example.com
< Deny from all
< Order Deny,Allow
< </Proxy>
1498d1491
< Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
------------------------
(Note that the # in the first line was added by me afterwards to get
the server apps live again)
So the changes from the update were:
1) To the end of the "#### configuration of mailman: ", it added:
------------------------
ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/
------------------------
which promptly stopped the WebObjects apache adaptor from being seen.
2) To the "## Proxy Server directives" section, it added:
------------------------
<Proxy "disabled_proxy">
Allow from example.com
Deny from all
Order Deny,Allow
</Proxy>
------------------------
Which is only here for completeness.
I used the following excellent article to install WO on Snow Leopard,
maybe someone should update it with a footnote about this issue.
If I had hit this issue from a clean install, I would have been stuffed.
http://wiki.objectstyle.org/confluence/display/WO/
Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server
Regards,
Mark
On 1 Apr 2010, at 17:26, Mark Ritchie wrote:
On 1/Apr/2010, at 1:55 AM, Mark Gowdy wrote:
The update added a line to /etc/apache2/httpd.conf
That's weird...
In the last week I've had to reinstall 10.6 while leaving my user
and data files in tact.
One time I bulk upgraded to 10.6.2, the next time, the bulk update
was to 10.6.3.
After both of those updates, my modified httpd.conf file has
remained intact.
However, I never did the 10.6.2 to 10.6.3 upgrade, perhaps that's
the one that messes with the config?
Anyone else have an experience with this?
M.
The update added a line to /etc/apache2/httpd.conf
ScriptAlias /cgi-bin/ /Library/WebServer/CGI-Executables/
If you comment that out with a #, and restart apache,
sudo apachectl restart
it should start working again.
This is hacky, and not nice. So can someone create a better
solution to this?
On 1 Apr 2010, at 08:18, Stavros Panidis wrote:
Hi all,
after software update to 10.6.3 Snow Leopard server deployed
application is not working
On mine, it comes up with:
Object not found!
The requested URL was not found on this server. If you entered the
URL manually please check your spelling and try again.
Not Found
The requested URL /cgi-bin/WebObjects/RetailShop was not found on
this server.
Additionally, a 404 Not Found error was encountered while trying
to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) PHP/5.3.1 Server at www.russellingreece.com
Port 80
Any comments / suggestions ?
Many thanks in advance
Stavros
________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]