2

I have a form in http page say http://example.com and form is like .I m using django 1.3.I enabled csrf middleware and put csrf token tag inside the form.When i try to submit the form i m getting the below error.

Referer checking failed - http://example.com/ does not match https://example.com/.

Any idea on how to overcome this problem?

asked Sep 15, 2012 at 6:00
1
  • can you post your form template. Commented Sep 15, 2012 at 7:04

1 Answer 1

2

There is difference between http and https. Are you trying to POST on HTTPS while GET is from HTTP?

If you have HTTPS setup may be you can look here for validating your configuration.

answered Sep 15, 2012 at 6:06
Sign up to request clarification or add additional context in comments.

1 Comment

Yes get is from http and i m trying to post in https

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.