On 2012-09-19, at 9:41 PM, Jeffrey Schmitz wrote:

> I thought by turning off the website services in the Mountain Lion Server app 
> that it would disable the Mountain Lion apache, but apparently not.  Removing 
> the apache plist in /System/Library/LaunchDaemons seems to have done the 
> trick though as now the macports apache seems to have taken hold.  Not sure 
> if that's the most elegant way to stop the built in apache, but it seems to 
> have worked for now, or at least until mountain lion re-generates the plist, 
> or installs a new one on an update.
> 
> Still no love on starting my app from javamonitor, but still investigating.

See my recent message on setting WOHost


> 
> Jeff
> 
> 
> On Sep 19, 2012, at 11:16 PM, Tim Worman <[email protected]> wrote:
> 
>> It sounds to me as though the machine is launching or trying to launch both 
>> installed versions of Apache. You need to disable the launchd config for 
>> whichever Apache you do not want to run.
>> 
>> Tim
>> 
>> On Sep 19, 2012, at 8:40 PM, Jeffrey Schmitz <[email protected]> wrote:
>> 
>>> I keep going in circles on the macport apache now.  It seems to run on one 
>>> reboot, but then I'll reboot again and when I go to localhost in safari I 
>>> get:
>>> 
>>> "Web service is turned off.  An administrator can turn it on using the 
>>> Server application." 
>>> 
>>> When I try sudo apachectl start
>>> 
>>> I get:
>>> 
>>> org.apache.httpd: Already loaded
>>> 
>>> I also try:
>>> 
>>> sudo port load apache2
>>> 
>>> But get:
>>> 
>>> org.macports.apache2: Already loaded
>>> 
>>> Seems like something is stepping in to give me that error before letting 
>>> the request go to the macports apache.
>>> 
>>> On Sep 12, 2012, at 12:33 AM, Tim Worman <[email protected]> wrote:
>>> 
>>>> My 2ยข - use macports or homebrew and install a custom apache. Stay away 
>>>> from Apple's. The biggest reason is what you just wrote in your last - 
>>>> restarting apache changed your settings. The built in apache is fine if 
>>>> you're using it for what Apple thinks their core customers will use it for 
>>>> - a small workgroup running their services, nothing more.
>>>> 
>>>> Homebrew may not be updated for ML - I don't know.
>>>> 
>>>> Tim
>>>> UCLA GSE&IS
>>>> 
>>>> On Sep 11, 2012, at 8:45 PM, Jeffrey Schmitz <[email protected]> wrote:
>>>> 
>>>>> 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 protected]> 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 protected]> 
>>>>>>> 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 protected]> 
>>>>>>>>> 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 protected])
>>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>>>>>>>>> 
>>>>>>>>>>> This email sent to [email protected]
>>>>>>>>>> 
>>>>>>>>>> -- 
>>>>>>>>>> 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 protected])
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/jeff%40netbrackets.com
>>>>>>>> 
>>>>>>>> This email sent to [email protected]
>>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> 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 protected])
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>>>>> 
>>>>> This email sent to [email protected]
>>>> 
>>> 
>> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to