Re: Problem with deny_info

From: Oskar Pearson <oskar@dont-contact.us>
Date: Mon, 3 May 1999 11:50:12 +0200

Hi

> acl expired src 192.168.1.0/255.255.255.0
> acl normal src 203.38.34.0/255.255.255.0
> http_access deny all !normal

> and the following line, at least according to my interpretation of the
> explanation should direct all members of the acl "expired" to a specific
> html page contained in the "errors" directory.

First: sure that this shouldn't be "expired"? :)

> deny_info expire.html expire

Otherwise, try this. It could be that the error page is only checked
when the "expired" acl is checked with an http_access line (I haven't
checked the code, but I guess it seems reasonable):

acl all src 0.0.0.0/0.0.0.0
acl expired src 192.168.1.0/255.255.255.0
acl normal src 203.38.34.0/255.255.255.0
http_access allow normal
http_access deny expired
http_access deny all

deny_info expire.html expired
Received on Mon May 03 1999 - 05:13:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:12 MST