Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Server Spec:

  • Wordpress 3.0.1
  • PHP Version 5.3.8-1+b1
  • MYSQL 5.1
  • Apache/2.3.16
  • Linux

The Problem

Simple really. A website that I helped to build and install a while back has just been transferred to a new host. The front end of the website isn't presenting any issues, but when I try to login to the admin area, I get a 501 'Unsupported Method ('POST') error.

I'm a bit lost on this one; there's a form on the front end of the website that uses POST to submit it's results, which is working fine. It has been suggested to me that it could be a mod_security, but to my untrained eye, it appears mod_security is not installed on this server.

If there's any more detail that anyone thinks could be helpful to submit, then please let me know. I'm not very experienced with Apache, so any help would be gratefully received.

share|improve this question
1  
Do you directly control the Apache config? If so, could you post the relevant VirtualHost declaration? –  Kyle Smith Feb 26 '12 at 20:49
    
I'd like to see that too. –  Yanick Girouard Feb 26 '12 at 21:01
    
Sadly, I don't have direct access to that I'm afraid. –  Sam Murray-Sutton Feb 27 '12 at 9:59

1 Answer 1

This can happen if the admin site is expecting POST requests only from a specific domain. This is to prevent cross-site requests. I don't know exactly where the setting would be, but I would re-check all the domains and path settings in the WordPress panel to make sure it's all accurate following your migration to a new host.

I'll update my answer with more details if I find anything else on this.

share|improve this answer

Your Answer

 
discard

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.