Re: Application not working with update 10.6.3

Mark Gowdy <[email protected]> Fri, 02 Apr 2010 15:59:22 +0100
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
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 working 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.
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev