Re: Migrating WO app to 10.8.2 on new server from 10.5
Re: Migrating WO app to 10.8.2 on new server from 10.5
- Subject: Re: Migrating WO app to 10.8.2 on new server from 10.5
- From: Baiss Eric Magnusson <email@hidden>
- Date: Mon, 25 Mar 2013 15:09:51 -0700
Here's the beginning of my unposted letter from last week.
> Your humble student hereby asks,
>
> If my hoped for path is:
> /Library/WebObjects/Application/tyf.woa/...
>
> 1) Do I need to "Allow CGI execution" for the site in WebSites of Server? Do I need to enable PHP web applications?
> -did both, after not doing so, but it didn't make any difference; so turned them off.
>
> So, somewhere in the Apache WebSite initialization files there needs to be an alias? symbolic link? are there differences?
> Best summary so far?
>
My guess is that something Apple did in forcing at boot for Apache to Serve from:
< /Library/Server/Web/Data/Sites/...>
needs to be reconciled/over-ridden?
On Mar 25, 2013, at 1:43 PM, Pascal Robert <email@hidden> wrote:
> FYI, I'm getting the same problem on a OS X 10.8.2 box at a customer site. ScriptAlias is set to /apps/WebObjects in webobjects.conf (I always rename apache.conf to webobjects.conf) but I get:
>
> [Mon Mar 25 16:35:30 2013] [error] [client 207.253.87.97] File does not exist: /Library/Server/Web/Data/Sites/Default/app
>
> And I do known that webobjects.conf is read because if I try to load the modules two times, Apache will throw a warning.
>
>> It sounds like it is trying to use the CGI adaptor. Does your httpd.conf file include this line?
>>
>> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>>
>> Is the path correct?
>>
>> What does this output
>>
>> sudo apachectl configtest
>>
>> Chuck
>>
>> On 2013-03-18, at 11:40 AM, Baiss Eric Magnusson wrote:
>>
>>>
>>>> Check this line in /etc/apache2/httpd.conf:
>>>> ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
>>>>
>>>> Make sure that it matches exactly.
>>>> Chuck
>>>>
>>> It matches.
>>>
>>>> Pascal writes:
>>>> Check for errors in /var/log/apache2/error_log
>>>
>>> Ah, all 3 "JavaMonitor Name link clicks" generate the same msg in log file, regardless of application selected.
>>>
>>>> [Sat Mar 16 2013] [error] [client 173.160.202.me]
>>>
>>>> File does not exist: /Library/WebServer/Documents/cwd/cgi-bin,
>>>
>>>> referer: http://173.160.202.xxx:56789/cgi-bin/WebObjects/JavaMonitor.woa/wo/YxUK1TOAKPj8IqGMBCjX00/4.0.1.0
>>>
>>> ****************
>>> And I noticed what a call from the home page of track-your-finances.com to the tyf WO application from somewhere afar generated:
>>>
>>>> [client 123.151.148.200] File does not exist: /Library/WebServer/Documents/tyf/cgi-bin, referer: http://track-your-finances.com
>>>
>>> Is this enough information for someone to suggest the "next step"?
>>> Prev note: the applications are running according to process monitor.
---
Baiss Eric Magnusson
cascadewebdesign.com
_______________________________________________
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