Can someone give me a hand with an error doc ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adult Site Traffic
    Confirmed User
    • Mar 2003
    • 5093

    #1

    Can someone give me a hand with an error doc ?

    Authorization Required
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

    ----------------------

    Error 401, right? Bad Password.

    Well, I want my .htaccess file to direct it to a page instead of just the server error page.


    I don't understand why this doesn't work:

    ###SERVE CUSTOM ERROR DOCS - BEGIN
    Options +FollowSymlinks
    ErrorDocument 401 http://www.mysite.com/mypage.html
    ###SERVE CUSTOM ERROR DOCS - END

    Any ideas?

    Thank you.

    ALL Domains and Websites are GOING AWAY NOW! Ask me!
    Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

    .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.
  • BMI Lace
    Too lazy to set a custom title
    • Mar 2004
    • 16116

    #2
    ErrorDocument 400 http://www.yourite.com
    ErrorDocument 401 http://www.yourite.com
    ErrorDocument 403 http://www.yourite.com
    ErrorDocument 404 http://www.yourite.com
    ErrorDocument 500 http://www.yourite.com

    What each error/line means:
    400 - Bad request
    401 - Authorization Required
    403 - Forbidden
    404 - Wrong page
    500 - Internal Server Error



    This is from Epic Cash. Dont think this is what you're looking for though...
    Last edited by Lace; 03-22-2004, 09:30 PM.
    Your Paysite Partner
    Strength In Numbers!
    StickyDollars | RadicalCash | KennysPennies | HomegrownCash

    Comment

    • Adult Site Traffic
      Confirmed User
      • Mar 2003
      • 5093

      #3
      Well, yea.

      It's for a members area bad pass. I just want to direct bad credentials back onto an alternate join page.

      For some reason, I can't get 401 to work from root.

      Maybe I need to mod the .htaccess in /members to reflect 401.

      ALL Domains and Websites are GOING AWAY NOW! Ask me!
      Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

      .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.

      Comment

      Working...