Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Murray Roke 502 posts 965 karma points c-trib
    May 27, 2010 @ 00:39
    Murray Roke
    0

    403 Access denied

    Hi.

    When I set up public access restrictions I choose a login page and (in my case) a 'smart' error page.

    My problem arrises when the error page is used... because the correct HTTP status is not set

    403 Access Denied) My error page uses these codes to show sensible messages.

    This should be the correct HTTP status code for the benefit of  users/user-agents also, I don't want google indexing my error page !! duh.

    Is there a way to set the correct HTTP status code for access denied scenarios?


    Cheers.

    Murray.

  • Hamish 96 posts 154 karma points
    Apr 14, 2011 @ 00:25
    Hamish
    0

    Did you find a way to do this?

Please Sign in or register to post replies

Write your reply to:

Draft