Re: Help with Apache... stuck - SOLVED
Re: Help with Apache... stuck - SOLVED
- Subject: Re: Help with Apache... stuck - SOLVED
- From: Paul Yu via Webobjects-dev <email@hidden>
- Date: Tue, 7 Apr 2020 16:51:28 -0400
Yeah. The old instructions says to comment that out.
P
Sent from my iPhone
Please excuse iOS autocomplete
> On Apr 7, 2020, at 4:04 PM, Ken Anderson via Webobjects-dev
> <email@hidden> wrote:
>
> OK, so the problem was, this line in the regular https.conf file:
>
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
>
> Since I have WO using cgi-bin, this was apparently taking precedence. When I
> comment out the above line, all works again.
>
> Ken
>
>
>> On Apr 6, 2020, at 4:43 PM, Ken Anderson via Webobjects-dev
>> <email@hidden> wrote:
>>
>> Hi everyone!
>>
>> Well, I’ve circled back to a project I was half way through a year ago… and
>> I’m a little stuck. Trying to get a WO project off of AWS and running on a
>> home server.
>>
>> CentOS 7
>> Apache 2.4
>> Wotaskd running
>> WOMonitor running
>> App installed and running
>>
>> Unfortunately, when I go to the expected URL
>> (http://publicserver.anderhome.local//cgi-bin/WebObjects/TrainTime.woa), I
>> get:
>> Not Found
>>
>> The requested URL /cgi-bin/WebObjects/TrainTime.woa was not found on this
>> server.
>>
>>
>> However, if I go to the root, I see the index.html file, so I know Apache is
>> responding.
>>
>> Webobjects.conf is in the conf.d directory, with the following:
>>
>> WebObjectsAlias /cgi-bin/WebObjects
>>
>> # Specific to Apache 2.4
>> <Location /cgi-bin/WebObjects/>
>> <Limit GET POST OPTIONS >
>> Require all granted
>> </Limit>
>> Require all denied
>> </Location>
>>
>> In the Apache error_log, I get this:
>>
>> [Mon Apr 06 16:37:04.792319 2020] [cgi:error] [pid 19829] [client
>> 192.168.1.249:62985] script not found or unable to stat:
>> /var/www/cgi-bin/WebObjects
>>
>> Which to me, means the module is not loaded. But I have this:
>>
>> LoadModule WebObjects_module modules/mod_WebObjects.so
>>
>> In the webobjects.conf file, and there is a file at
>> modules/mod_WebObjects.so. I don’t get any errors when starting Apache, and
>> the syntax check passes.
>>
>> What am I doing wrong? Any thoughts are appreciated!!
>>
>> Best,
>> Ken
>>
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
_______________________________________________
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