Forums

Not allowed access to URL rewrite problem

jayflood 12 Sep, 2009
Hello good people.

I have a problem which i don't think is a fault of chronoforms but i need to fix. My domain is registered as <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w -->.
I also have a domain alias <!-- w --><a class="postlink" href="http://www.domain.co.nz">www.domain.co.nz</a><!-- w --> that redirects to domain.com. If people arrive at the <!-- w --><a class="postlink" href="http://www.domain.co.nz">www.domain.co.nz</a><!-- w --> address and fill out a form they receive the error 'not allowed access to this URL' and are redirected to the domain.com. Filling out the form a second time (now under <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w -->) the form submits ok.

How can i fix it so that the people arriving via domain.co.nz can successfully fill out the form first try. Do i need to append the htaccess file perhaps? And if so what with?
GreyHead 12 Sep, 2009
Hi Jayflood,

I suspect that you are using Cloaking rather than redirection so that the users submit a form from a domain that is not the same as the domain the form is on. The check for this is the Jooma Security Token which is intended to protect against attempts to 'steal' sessions. You can turn the Security Token check off on the form General Tab. By all means test this but I think that the more secure answer is to fully redirect to one domain or the other so that after the redirect everything is on the one domain.

Bob
This topic is locked and no more replies can be posted.