Why don't you post the contents of the .htaccess file here and I'll do 
some testing to see what the syntax is.

-----Original Message-----
From: Richard Klein <[EMAIL PROTECTED]>
To: "sambar List Member"  <[EMAIL PROTECTED]>
Date: Thu, 24 Jul 2003 09:14:03 -0400
Subject: [sambar] Problem with .htaccess/ErrorDocument

> Thanks Peter.  I've seen that section of the docs, and, as far as I can
> tell, my .htaccess conforms to what it says.  Incidentally, I also
> tried putting the less-than/greater-than symbols around the statement
> and got this error instead:
> Invalid HTACCESS argument [line 22]: C:/sambar53/docs/.htaccess
> 
> Thanks to Jeff, too, even if he is a little behind the times.  :-)
> 
>    -Rich
> 
> On 24/Jul/2003 00:57:55, Peter wrote:
> > 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.
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
> 
> 
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to