This might not be the latest but the docs I have say. ErrorDocument status <error-page> Return the error-page (Sambar Server script, ASP, or HTML data) to the user for all errors corresponding to the status. Important: The path to the error-page is always relative to the documents directory; the error-page must begin with a slash (/).
<ErrorDocument 500 /cgi-bin/servererror.pl> <ErrorDocument 401 /sitemap.htm> Good luck -----Original Message----- From: Richard Klein <[EMAIL PROTECTED]> To: "sambar List Member" <[EMAIL PROTECTED]> Date: Wed, 23 Jul 2003 18:00:24 -0400 Subject: [sambar] Problem with .htaccess/ErrorDocument > I thought I'd try out the .htaccess file posted here: > http://techfocus.org/files/htaccess.zip > (more info about that here: > http://techfocus.org/comments.php?catid=17&id=3671) > > This causes a server error at line 22: > ERROR: Invalid HTACCESS 'ErrorDocument' [line 22]: > C:/sambar53/docs/.htaccess > > I tried cutting the HTML out of the ErrorDocument line and pasting it > into an external HTML file, so line 22 now reads: > ErrorDocument 403 /403.html > but I still get the same server error. > > If I delete the whole ErrorDocument line I get the standard "Forbidden" > page. What am I doing wrong? > > Thanks, > -Rich > ------------------------------------------------------- > To unsubscribe please go to http://www.sambar.ch/list/ > > ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
