httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@hyperreal.com>
Subject errordocument (fwd)
Date Thu, 10 Aug 1995 22:03:29 GMT
Forwarded message:
> From jsd@cyborganic.com  Thu Aug 10 14:36:15 1995
> Date: Thu, 10 Aug 1995 14:36:05 -0700
> Message-Id: <ac4fcab000021003159a@[140.174.95.102]>
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> To: apache-bugs@apache.org
> From: jsd@cyborganic.com (Jon Drukman)
> Subject: errordocument
> 
> errordocument doesn't do quite what i'd like.  i'm not sure if this is a
> bug or an intentional design decision, but anyway...
> 
> the problem is you get error 403 for one of several reasons: the file is
> read protected, or your machine just isn't allowed in anyway (because of
> statements in the access conf file).
> 
> i have a nice .html file all set up with a detailed message explaining the
> 403.  however, i really want people who aren't allowed to access the server
> to be able to see it.  they can't.  if you try to get in from within the
> machine, you get the file.  if you try to get in from outside the network,
> you get a string with the name of the file.  not quite the same thing.
> 
> do you understand?  am i just totally hosed?
> 
> oh and btw, i can't get the literal string thing to work as described in
> the manual.  if i say errordocument 403 "this is the reason: %s
> 
> the server returns:
> 
> "this is the reason. %s
> 
> according to the docs, it shouldn't have the initial double-quote, and %s
> should be expanded to the reason for the failure.
> 
> thanks for your time.
> 
> 
> 
> 


Mime
View raw message