Re: Help with Apache... stuck
Re: Help with Apache... stuck
- Subject: Re: Help with Apache... stuck
- From: Ken Anderson via Webobjects-dev <email@hidden>
- Date: Mon, 6 Apr 2020 19:28:52 -0400
Jesse,
Hope all is well with you!
Yes, direct connect works if I enable it.
How do you configure it? This is how I’ve always done it…
Ken
> On Apr 6, 2020, at 4:50 PM, Jesse Tayler <email@hidden> wrote:
>
> You’ve tested to the ip:port directly and your app runs ok?
>
> Then it would indeed sound like apache, since wotaskd or monitor would show
> other error types I’d think.
>
> I think you could test wotaskd / monitor using a url with a port number like
> -2001 on the URL, but I don’t think that will reveal anything for you here.
>
> Are you mixing html website with your app? I’m no good with apache rules
> myself, but your setup is different than what I typically do.
>
> I’d fuss with apache first-there’s output logs listed in the config somewhere
> you might make sure there’s nothing printed there.
>
>
>
>> On Apr 6, 2020, at 4:43 PM, Ken Anderson via Webobjects-dev
>> <email@hidden <mailto: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
>> <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
>> <mailto: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