Re: Apache 2.2 or 2.4?
Re: Apache 2.2 or 2.4?
- Subject: Re: Apache 2.2 or 2.4?
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 03 Sep 2013 17:13:31 -0700
On Sep 3, 2013, at 4:45 PM, Pascal Robert wrote:
>
> Le 2013-09-03 à 19:25, Ramsey Gurley <email@hidden> a écrit :
>
>>
>> On Aug 29, 2013, at 12:11 PM, Pascal Robert wrote:
>>
>>>
>>> Le 2013-08-29 à 11:54, Ramsey Gurley <email@hidden> a écrit :
>>>
>>>>
>>>> On Aug 27, 2013, at 5:50 PM, Pascal Robert wrote:
>>>>
>>>>>
>>>>> Le 2013-08-27 à 20:14, Ramsey Gurley <email@hidden> a écrit :
>>>>>
>>>>>>
>>>>>> On Aug 27, 2013, at 4:59 PM, Pascal Robert wrote:
>>>>>>
>>>>>>>
>>>>>>> Le 2013-08-27 à 17:50, Ramsey Gurley <email@hidden> a écrit :
>>>>>>>
>>>>>>>>
>>>>>>>> On Aug 27, 2013, at 2:48 PM, Ramsey Gurley wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Aug 27, 2013, at 2:03 PM, <email@hidden> <email@hidden> wrote:
>>>>>>>>>
>>>>>>>>>> On Tue, 27 Aug 2013 13:14:49 -0700
>>>>>>>>>> Ramsey Gurley <email@hidden> wrote:
>>>>>>>>>>> On Aug 27, 2013, at 12:22 PM, <email@hidden> wrote:
>>>>>>>>>>>> On Tue, 27 Aug 2013 11:55:34 -0700
>>>>>>>>>>>> Ramsey Gurley <email@hidden> wrote:
>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>> I'm setting up new servers and I'm wondering if anyone is successfully using 2.4 in production yet. I understand we would need a new build of mod_webobjects. I don't see one for redhat, just windows
>>>>>>>>>>>>> http://wocommunity.org/documents/tools/mod_WebObjects/
>>>>>>>>>>>>> Is there any other mod_webobjects for 2.4 out there? Beyond that, any gotchas I would need to know about before switching to the newer httpd?
>>>>>>>>>>>> A RPM for Apache 2.4 is available from the Yum repository.
>>>>>>>>>>> Where is that? :-)
>>>>>>>>>>
>>>>>>>>>> http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux
>>>>>>>>>
>>>>>>>>> I've already installed JavaMonitor and wotaskd so I'm skipping directly to the mod_webobjects part (decided to stick with 2.2 for now), but I get:
>>>>>>>>>
>>>>>>>>> Error: Cannot retrieve repository metadata (repomd.xml) for repository: wocommunity. Please verify its path and try again
>>>>>>>>>
>>>>>>>>> Broken url?
>>>>>>>>>
>>>>>>>>
>>>>>>>> I guess it would help if I included the url
>>>>>>>>
>>>>>>>> http://packages.wocommunity.org/CentOS/6Server/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
>>>>>>>>
>>>>>>>> Looks like that should be
>>>>>>>>
>>>>>>>> http://packages.wocommunity.org/CentOS/6/repodata/repomd.xml
>>>>>>>
>>>>>>> You're trying to install on CentOS 6? If yes, which update (6.0, 6.1, 6.2 or 6.3)?
>>>>>>
>>>>>> I just did
>>>>>>
>>>>>> sudo yum install woadaptor
>>>>>>
>>>>>> as directed on the wiki. My Redhat is version 6.3.
>>>>>
>>>>> Ok, so I added a symlink. http://packages.wocommunity.org/CentOS/6Server/repodata/repomd.xml works now.
>>>>>
>>>>>
>>>>
>>>> Beautiful. So it installs now. I see /usr/lib64/httpd/modules/mod_WebObjects.so and I see /etc/httpd/conf.d/webobjects.conf. Do I need to define the LOCAL_LIBRARY_DIR that I see in webobjects.conf?
>>>
>>> Not need.
>>>
>>>> WebObjectsDocumentRoot LOCAL_LIBRARY_DIR/WebServer/Documents
>>>>
>>>> I assume it knows to look in /opt/Local/Library where the womonitor and wotaskd get installed.
>>>
>>> Exact.
>>>
>>>> Thanks for putting these together Pascal. They look like a big time saver, even though I probably spent more time making sure I understand what they're doing :-D
>>>>
>>>> Ramsey
>>>>
>>>
>>
>>
>> Okay, so I've set up a WO app. I launch it through monitor. It runs. Green in monitor, but when I click the link, I cannot connect to the app. I get a 404. I checked to see that the webobjects module is loaded using
>>
>> httpd -M
>>
>> => WebObjects_module (shared)
>>
>> and I look in /var/log/httpd/error_log where I see
>>
>> => script not found or unable to stat: /var/www/cgi-bin/WebObjects
>>
>> Any idea what's wrong with it?
>
> Disable the "ScriptAlias" directive in /etc/httpd/httpd.conf
That did the trick. Thanks Pascal.
_______________________________________________
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