ElkArte Community

Title: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 12:36:29 am
Just wondering if there are any server config issues that Elk doesn't play well with.

Situation is a basic public test forum on a shared box. Box is running up to date PHP/MySQL and Lightspeed (not Apache). Bad Behaviour is turned off.

Forum has started giving 403's on login attempts, and intermittent connection timeouts.

Any ideas?

ETA: It seems that it's the quick login (up in the header) that is giving the 403's. If I ignore that form and go to action=login instead, the form on that page seems to work.

BTW, there are no mods installed that would affect either login form, and this is using the default theme.
Title: Re: Server config: any known issues?
Post by: emanuele on June 05, 2016, 03:21:50 am
With "up to date" PHP do you mean 7 or some 5.6?

Just to be sure. ;)
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 03:27:01 am
Ok, will go look. Gimme a list of stuff you want to know.
Title: Re: Server config: any known issues?
Post by: emanuele on June 05, 2016, 03:55:26 am
I just have a doubt about php, apart from that everything else should be fine just whatever version it is.
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 04:06:52 am
Ok, will go and look.

Also, I've just got Bouncing Parrots Alpha working with valid HTML5 and CSS3 (which is the really important bit). :D
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 04:14:21 am
Righty-o. PHP version is 5.6.22 and MySQL version is 5.5.49. And just for the heck of it, LiteSpeed version is 6.9 and it's a 64 bit box.
Title: Re: Server config: any known issues?
Post by: emanuele on June 05, 2016, 05:51:50 am
hmm...
403 is forbidden... could it be some mod_security?
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 06:35:39 am
Good point. Will look into it.
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 04:27:22 pm
Hey if it is "some mod_security" exactly what should I be looking for? I mean obviously that module is going to be on the server, but that in itself isn't going to tell us much.
Title: Re: Server config: any known issues?
Post by: emanuele on June 05, 2016, 04:53:01 pm
/me is not a server guy

I was thinking: instead of guessing the way I'm doing, why not have a look into the server log (lightstep should have logs I hope) and see if there is a more detailed reason for the error?
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 04:57:40 pm
Oh yeah. D'oh. Ok. Will get back to you.

/me is not server bot either
Title: Re: Server config: any known issues?
Post by: Antechinus on June 05, 2016, 05:51:04 pm
Had a look. The only thing it's got in it is a message about a missing 403.shtml file. :D IOW, site admin hasn't bothered to make a custom one yet, so it's falling back to the host's 403 page. Which is no use to anyone.

Turns out that other sites on the same shared box are also having problems, so host has been notified.

ETA: Oh and incidentally, mod_security isn't installed, at least not according to phpinfo. Maybe LiteSpeed uses something else to do that same job.