Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 07:48:23 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155526 Posts in 21713 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: 403 error, can't access login.php with redirect  (Read 602 times)
ucdcrush

Offline Offline

Posts: 12


« on: July 20, 2009, 08:57:30 PM »

Hi all, I am having a problem with a site I am putting together. I have an area of the site that is for registered users only, so if someone who is not logged in visits the home page and clicks on a page viewable only by registered users, there is a 403 error.

Of course it should take them to the login page, and once they are logged in, redirect them to the page they intended to view.

If I remove the ?redirect part, the login page itself works fine. Does anyone have an idea what could be wrong?

« Last Edit: July 21, 2009, 08:17:49 PM by ucdcrush » Logged
ucdcrush

Offline Offline

Posts: 12


« Reply #1 on: July 20, 2009, 09:22:24 PM »

I contacted the host support and they fixed it, saying:

"I had to whitelist one of the mod_security rules that your script was hitting."

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!