Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi All,
Is there any way of making the 403 page a little nicer? Or is this a server thing?
Thanks
Hi Lewis I did this recently.
I created a content page called Forbidden I then added this to my web.config file underneath httpProtocol:
<httpErrors errorMode="Custom" existingResponse="Replace"> <remove statusCode="403" subStatusCode="-1" /> <error statusCode="403" prefixLanguageFilePath="" path="/Forbidden" responseMode="ExecuteURL" /> </httpErrors>
I hope that helps.
Cheers
Paul
Hi Paul,
Thank you very much! I will implement this and see if this solves my issue!
A 403 error is a server error, is there anyway i can trigger this for testing purposes?
Thanks, Lewis
Try my blog post on protecting the media section.
It returns a 403 error depending on the logic.
http://www.codeshare.co.uk/blog/how-to-protect-media-items-in-umbraco/
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Nicer 403 page
Hi All,
Is there any way of making the 403 page a little nicer? Or is this a server thing?
Thanks
Hi Lewis I did this recently.
I created a content page called Forbidden I then added this to my web.config file underneath httpProtocol:
I hope that helps.
Cheers
Paul
Hi Paul,
Thank you very much! I will implement this and see if this solves my issue!
A 403 error is a server error, is there anyway i can trigger this for testing purposes?
Thanks, Lewis
Try my blog post on protecting the media section.
It returns a 403 error depending on the logic.
http://www.codeshare.co.uk/blog/how-to-protect-media-items-in-umbraco/
Cheers
Paul
is working on a reply...