Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep getting 405 errors when i try to send post ajax requests on localhost from a page to another.I understood this is a server configuration.Can anyone help ?

share|improve this question
This should probably be moved to ServerFault – SpamapS Nov 22 '11 at 19:55

You need a script handler of some kind (python, php, etc.) to handle POST's. The point of a POST is that you are sending data back to the server, without the script handler, apache doesn't know how to do anything with that data.

share|improve this answer
i have php. i get the error when sending the data via jQuery – andrei Nov 22 '11 at 20:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.