From nobody@hyperreal.com Mon May 12 07:03:19 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id HAA10152; Mon, 12 May 1997 07:03:19 -0700 (PDT) Message-Id: <199705121403.HAA10152@hyperreal.com> Date: Mon, 12 May 1997 07:03:19 -0700 (PDT) From: Alex French Reply-To: alex@clubi.ie To: apbugs@hyperreal.com Subject: OnDeny directive not accepted in access.conf X-Send-Pr-Version: 3.2 >Number: 572 >Category: config >Synopsis: OnDeny directive not accepted in access.conf >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Mon May 12 07:10:01 1997 >Last-Modified: Thu May 15 11:20:06 PDT 1997 >Originator: alex@clubi.ie >Organization: >Release: 1.2b8 >Environment: IRIX 6.2, Linux 2.0.0 >Description: NCSA's OnDeny directive causes the server to bail out on startup and report an "Unknown Directive". >How-To-Repeat: Try it :-) >Fix: Either a) It's there and I'm being stupid, in which case please tell me, or b) It's not there, in which case it's top of my wishlist for future releaases >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: pcs State-Changed-When: Tue May 13 02:35:33 PDT 1997 State-Changed-Why: Apache does not support OnDeny. However it does support the same functionality using the much more general ErrorDocument directory. For example, to redirect on authentication failure, use ErrorDocument 401 url or to redirect on remote address failure, use ErrorDocument 403 url The "url" can be a full URL, a local URL or a string (starting with a "). Let us know if this does not provide all the functionality you need. State-Changed-From-To: feedback-closed State-Changed-By: pcs State-Changed-When: Thu May 15 11:20:06 PDT 1997 State-Changed-Why: Note to corrrect above: With ErrorDocument 401 the url cannot be a full URL - it must be a local URL or string. >Unformatted: