My website is being redirected to 403 page

Status
Not open for further replies.

xslikerx

New Member
Messages
14
Reaction score
0
Points
1
when I try to use login into my website(using http POST) it redirects me to 403 error page. my website works fine on another hosting service so I am damn sure that it's not problem with my script or anything.

please solve this issue for me.
thanks in advance :)
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi xslikerx,

I have made an alteration to your account's mod_security configuration, which should fix the 403 error message you were seeing. Please could you try again? :)

Thank you,
 

xslikerx

New Member
Messages
14
Reaction score
0
Points
1
Same issue is there. :(
Edit: read my last reply to save your time dude


My domain is http://xsliker.tk you can try to login there with following input https://www.facebook.com/connect/lo...LxLsghQzm089CYBIpAQ28epwd23AZDZD&expires_in=0 and ideally it should redirect to home.php but it is not happening. If you entered anything else other than correct input then it shows error which is perfect but if you enter correct input (in bold) you redirected to 403 page. You can also look at my code it works perfectly fine on other hosting but having problems with x10 pls. And bdw thanks for the your efforts :):):)
 
Last edited:

xslikerx

New Member
Messages
14
Reaction score
0
Points
1
That url in bold is correct input for my site xsliker.tk.... You can login there from login here : section of home page
 

xslikerx

New Member
Messages
14
Reaction score
0
Points
1
hey finally I figured out why it was redirecting to 403 page .... because input size is pretty much long I think .... please set some options so that i can take at least 300 character long input from users.
 

xslikerx

New Member
Messages
14
Reaction score
0
Points
1
@shanforu I think they don't allow us by default to take a long http form input via get/post method. Even 300 characters long input will cause the user to redirect to 403 page .
 

maulikx1

New Member
Messages
4
Reaction score
0
Points
1
I am also having issue with WordPress, I just cannot update[edit] my pages :eek:
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
hey finally I figured out why it was redirecting to 403 page .... because input size is pretty much long I think .... please set some options so that i can take at least 300 character long input from users.
Hi,

Please could you give me the full URL to the page that the 403 message shows at, and I'll investigate further? As far as I know, we do not impose any character length limits on any requests.

Thank you,
 

xslikerx

New Member
Messages
14
Reaction score
0
Points
1
I just made a simple html page with a form and uploaded here @ http://xsliker.tk/test

index.html
HTML:
<!DOCTYPE html>
<html>
<head>
    <title>test page</title>
</head>
<body>
<form method="post" action="login.php">
    <input type="text" name="name">
    <input type="submit" name="sb">
</form>
</body>
</html>

login.php
PHP:
<!DOCTYPE html>
<html>
<head>
    <title>success</title>
</head>
<body>
<p>you have logged in successfully.</p>
<a href="index.html">logout</a>
</body>
</html>

now I came to know that problem is not with the length of the input but problem is with URL inputs !

we can not enter any URL as input like https://www.google.com/
if we do enter URL it will redirect your page to 403 which should not be the case :\
 
Status
Not open for further replies.
Top