On Jun 6, 2011, at 11:31 AM, Jeff Rogers wrote:

> 
> I get down into these filters trying to figure out why my OpenACS 
> installation returned error pages for bad urls instead of the configured 404 
> page.  What appears to be going on is that a preauth filter "rp_filter" is 
> set up to do authentication and some other initialization (importantly, 
> populating ad_conn values), while the main request processor is "rp_handler" 
> which dispatches the request via a number of different mechanisms and if it 
> fails all of those falls through to "ns_returnnotfound", which does the 
> internal 404 redirect.  However, the 404 page will also get handled by 
> rp_handler, but based on the values in ad_conn (specifically, extra_url) that 
> are only set up in the preauth filter;  if the filter is not run again then 
> it tries to handle the internal 404 url based on the original url and fails 
> again, until it hits the recursion limit and just given an error.  (BTW, 
> setting up a 500 error page here crashes the server by overflowing the 
> stack.)  This also makes it!
  impossible to use acs-templating on the 404 or 500 error page.

Yes, this has been a known problem and known to be due to the fact that 
filter's not being run.

----
Don Baccus
http://donb.photo.net
http://birdnotes.net
http://openacs.org


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to