Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » nestedurls - Displaying a 404 Error instead of action not allowed message

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 889 Views
  • Ben Gribaudo
    Avatar
    Community Member
    181 Posts

    nestedurls - Displaying a 404 Error instead of action not allowed message Link to this post

    Hello,

    Going to http://mysite/nonExistantPage/ results in a 404 file not found error being displayed. Going to http://mysite/exists/nonExistantPage/ results in "Action 'nonExistantPage' isn't allowed on class Page_Controller" is displayed.

    How would I get a 404 file not found error to be displayed for both of those URLs?

    Thanks,
    Ben
    Using nestedurls trunk (revision 77403).

    889 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.