Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » "501 Not Implemented" in CMS

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1940 Views
  • Anatol
    Avatar
    126 Posts

    "501 Not Implemented" in CMS Link to this post

    Hi,

    I just set up Silverstripe on a web server. Everything went well and there were no error messages during the installation process. However, when I am in the CMS (backend) and I click on any link in the left hand menu (site tree or assets folders, etc) I get the following error message:

    "501 Not Implemented
    The page you are looking for cannot be displayed because a header value in the request does not match certain configuration settings on the Web server."

    Does anyone what that message means or what could be the problem or configuration setting the error message mentions? The web server software is Apache (BSD). Thank you!

    Cheers!
    Anatol

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: "501 Not Implemented" in CMS Link to this post

    Hi Anatol,

    SilverStripe doesn't generate any 501 errors, so this is most likely to do with your webserver configuration. I suggest you talk to the sysadmins.

    It might have something to do with the browser you're using too.

  • Anatol
    Avatar
    126 Posts

    Re: "501 Not Implemented" in CMS Link to this post

    Hi Sam,

    thank you for your reply. The error message is probably generated by the web server. I also checked the error log and it comes up with this message:

    [Tue Jul 08 09:17:54 2008] [error] [client xxx.xxx.xxx.xxx] ModSecurity: Access denied with code 501 (phase 1). Match of "rx (?:^(?:application/x-www-form-urlencoded$|multipart/form-data;)|text/xml)" against "REQUEST_HEADERS:Content-Type" required. [id "960010"] [msg "Request content encoding is not allowed by policy"] [severity "WARNING"] [hostname "domain.name.co.nz"] [uri "/new/admin/getitem?ID=1&ajax=1"] [unique_id "m9hWIdIFMgMAAHemQAUAAAAI"]

    I found a few messages in other forums on error 501. It often appears in combination with Ajax. Usually the problem seems to be that the request method via the Ajax script (e.g. prototype) is set as 'post' but it should be 'POST' or 'get' but it should be 'GET'. I tried and replaced all lower case 'post' and 'get' in the javascript files with upper case ones but the result did not change.

    I am using Firefox 3 and IE 7 (Windows). I can use other Silverstripe installations on different servers without any problem.

    If anyone had a similar problem or can point me to the right direction I would be very grateful. ModSecurity seems to cause the problem but I don't know what setting would need to be changed.

    Cheers!
    Anatol

  • Anatol
    Avatar
    126 Posts

    Re: "501 Not Implemented" in CMS Link to this post

    Hi,

    the problem is solved. Unfortunately I don't know about the details but it all has to do with an implemented "ModSecurity thing". The hosting company changed a setting and now the Silverstripe CMS works as expected.

    Cheers!
    Anatol

    1940 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.