Skip to main content
Topic: Problem with forum (Read 1651 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Problem with forum

hi, thanks for this forum. It is new for me using this and have 2 major problems
1. I can't use email validation for registration, already set it to smpt or php and no email are sent
2. Every time I access my site for the first time there is always shown like image on my attachment

it would be glad if I have some help, thank you

Sorry for my english, not so good with that, I'm from Indonesia so english is not my forte

Addition: my site is www.endejaya.com

Re: Problem with forum

Reply #1

Hi mozard and welcome to elk.net. :)

This page is usually the result of some Apache configuration setting, most likely mod_security.

Doing some tests I can see that accessing http://endejaya.com/index.php gives you the "forbidden" error, but accessing http://www.endejaya.com/index.php the error doesn't appear.
The difference is the "www", apparently you configured your ElkArte to have the "www" in the URL.

Testing a bit more, it looks like the problem arises when both PHPSESSID and wwwRedirect are present in the URL, for example:
http://www.endejaya.com/index.php?PHPSESSID=f3f2b9ae9cc1125b1a7ff65cb1d304c7&board=1.0;wwwRedirect
you can trim it down to a simple URL I'm not going to post here that basically crashes (at least I'm not able to get a direct response any more, I have to go through a proxy now).

What I would do is:
1) set up htaccess so that requests are sent to either the "www" version or the "non-www" version of the site, this has the advantage of not letting Elk-redirect to take place[1],
2) contact my host to understand if it is possible to fix the mod_security issue and/or disable mod_security entirely.
If ElkArte is configured to use the "www" version, and the forum is accessed through the "non-www", then it tries to redirect to the "www" version to avoid content duplication.
Bugs creator.
Features destroyer.
Template killer.

Re: Problem with forum

Reply #2

Thanks for your help .. yes I realized that I put it on wrong place after I post it >.<

Yes, I set it to use "www" when I installed it using Softaculous, and now I realize it that it is not resulting good :(

Will try it tomorrow when I have access to cpanel

at last this forum cms is great, very light, fast loading!

Re: Problem with forum

Reply #3

It can be fixed at any time from Elk admin panel, once you decide which one you want to pick, of course. ;D
Bugs creator.
Features destroyer.
Template killer.