Re: Trouble Shooting Mountain Lion
Re: Trouble Shooting Mountain Lion
- Subject: Re: Trouble Shooting Mountain Lion
- From: Jeffrey Schmitz <email@hidden>
- Date: Tue, 11 Sep 2012 22:45:15 -0500
Yes, but still no love.
In the process it changed my document root to Library/Server/Web/Data/Sites/Default. Hate how it does that, is there any way to change that back? In the /etc/apache2/httpd.conf it says:
DocumentRoot "/Library/WebServer/Documents"
But that's not where apache is looking. Perhaps there's another copy of apache, or at least the config file somewhere?
Also, I did check the /System/Library/Webobjects/Adaptors/Apache2.2/apache.conf, and looks like cgi-bin is still setup to be used in the url...
# You can change the 'cgi-bin' part of WebObjectsAlias to whatever you
# prefer (such as Apps), but the 'WebObjects' part is required.
WebObjectsAlias /cgi-bin/WebObjects
Thanks,
jeff
On Sep 10, 2012, at 11:59 PM, Chuck Hill <email@hidden> wrote:
> Have you restarted Apache?
>
>
> On 2012-09-10, at 9:09 PM, Jeffrey Schmitz wrote:
>
>>
>> Am having this same problem myself after upgrading to mountain lion server:
>>
>> The requested URL /cgi-bin/WebObjects/netBrackets.woa was not found on this server.
>>
>> but I do have the ScriptAlias in my /etc/apache2/httpd.conf:
>>
>> ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
>>
>> Also have included the apache.conf:
>>
>> Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>>
>> Which itself points to webobjects...
>>
>> LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so
>>
>> But apache still seems confused.
>>
>> Thanks,
>> Jeff
>>
>> On Jul 25, 2012, at 9:44 PM, Chuck Hill <email@hidden> wrote:
>>
>>>
>>> On 2012-07-26, at 10:41 AM, Johnny Miller wrote:
>>>
>>>>
>>>> It's in there and I tried commenting that line out as well but it had no effect?
>>>
>>> Are you including the apache.conf from WebObjects? That error means that it is seeing the URL as a file request, not one to be passed through to WO.
>>>
>>>
>>>> On a side note... did web sharing get the boot? It seems that option has been dropped from System Preferences
>>>
>>> I don't have an ML machine in front of me here.
>>>
>>>
>>> Chuck
>>>
>>>>
>>>>
>>>> On Jul 25, 2012, at 4:34 PM, Chuck Hill <email@hidden> wrote:
>>>>
>>>>> Your httpd.conf needs to be fixed for this setting:
>>>>>
>>>>> ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
>>>>>
>>>>>
>>>>> On 2012-07-26, at 10:32 AM, Johnny Miller wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I upgraded my computer today and now when I go to debug my application I get the following print out from Safari:
>>>>>>
>>>>>> The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/-5555 was not found on this server.
>>>>>>
>>>>>> WOMonitor, WOTaskd and my application appear to be running.
>>>>>>
>>>>>> Did anyone have a similar problem or have an idea on where to start debugging?
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Johnny Miller
>>>>>> _______________________________________________
>>>>>> 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/gvc/practical_webobjects
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> 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/gvc/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
>>
>
> --
> 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/gvc/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