htaccess error codes question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Babagirls
    Text Writer
    • Feb 2001
    • 18812

    #1

    htaccess error codes question

    im need to make htaccess files for error codes 400,401,403,404 and 500.

    i know the code is:
    ErrorDocument 400 /whatever.html
    but do i just put all codes on one htaccess file like this..

    ErrorDocument 400 /whatever.html
    ErrorDocument 401 /whatever.html
    ErrorDocument 403 /whatever.html
    ErrorDocument 404 /whatever.html
    ErrorDocument 500 /whatever.html
    ...and then just upload it to the root of my domain?





    Need a Text Writer?
    Blogs|Reviews|Descriptions|Paysites|TGP's|Stories

    ICQ: 397892500
  • Sosa
    In Tushy Land
    • Oct 2002
    • 40149

    #2
    that is what I do. at the top of the hta file.

    Comment

    • xato
      Confirmed User
      • Mar 2003
      • 1205

      #3
      yes thats it

      Bad Lamborghini Crash

      Comment

      • Babagirls
        Text Writer
        • Feb 2001
        • 18812

        #4
        thanks guys




        Need a Text Writer?
        Blogs|Reviews|Descriptions|Paysites|TGP's|Stories

        ICQ: 397892500

        Comment

        Working...