On 2012-09-17, at 8:07 PM, Jeffrey Schmitz wrote:
> I've converted to using apache installed by macports, but still get the same
> problem. The webobjects module seems to be being loaded as when I run the
> following:
>
> sudo httpd -M | grep WebObjects
>
> I get:
>
> WebObjects_module (shared)
>
> Have also added the following to the macports apache httpd.conf:
>
> ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$)
> "/Library/WebServer/CGI-Executables/$1"
>
> As well the Include for the webobjects apache.conf file.
>
>
> I'm intrigued by the ScriptAliasMatch command, as my
> Library/WebServer/CGI-Executables directory is empty. Should something be in
> there?
Empty is right. The name probably needs to match this section:
#
# "/Library/WebServer/CGI-Executables" should be changed to whatever your
ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/Library/WebServer/CGI-Executables">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Chuck
>
> Thanks!
> Jeff
> 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]
>>
>
--
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]