How do you change the HTTP 403 error document?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by maclover001, May 14, 2009.

  1. macrumors 6502a

    maclover001

    Joined:
    Mar 25, 2008
    Location:
    Vancouver, Canada
    #1
    You can change the 404 Not Found document in Server Admin for different sites, but how do you change 403 Forbidden?

    Thanks
     
  2. macrumors 6502a

    mathcolo

    Joined:
    Sep 14, 2008
    Location:
    Massachusetts
    #2
    Unfortunately, you might have to dig into Apache configuration to change the ErrorDocument directive. If you want to do it on a per-directory basis, put a .htaccess file in a directory and use ErrorDocument also.
     
  3. thread starter macrumors 6502a

    maclover001

    Joined:
    Mar 25, 2008
    Location:
    Vancouver, Canada
    #3
    Thanks. It seems like OS X has at least 5 different "httpd.conf" files left over from old Apache versions (?), so it was hard to find what exactly to change.
     

Share This Page