Forum OpenACS Development: Re: Error: return: failed to redirect

Collapse
Posted by Don Baccus on
Usually when this is seen on a server visible to the intranet, it's due to the site being probed by spiders (probably crackbots) using webdav requests, when the webdav filters haven't been set up (i.e. you're not using that package). This causes the 3-deep recursion error.

Just FYI ...

I think this may've disappeared with 4.5 though ...

Collapse
Posted by Hector Amado on
Hi all, i am having the same warnings with aolserver 4.5.1 and oacs 5.5.1 on a server visible to Internet,

[25/Sep/2009:10:15:47][13777.1342175600][-conn:ges2::25] Error: return: failed to redirect 'GET /global/file-not-found.html': exceeded recursion limit of 3
[25/Sep/2009:10:15:48][13777.1207957872][-conn:ges2::11] Error: return: failed to redirect 'GET /global/file-not-found.html': exceeded recursion limit of 3
[25/Sep/2009:10:16:04][13777.1199569264][-conn:ges2::10] Error: return: failed to redirect 'GET /global/file-not-found.html': exceeded recursion limit of 3

To reproduce the error just visit some wrong url (eg. https://openacs.org/a.css )

I have the default config parameters:

#
# Special HTTP pages
#
ns_param NotFoundResponse "/global/file-not-found.html"
ns_param ServerBusyResponse "/global/busy.html"
ns_param ServerInternalErrorResponse "/global/error.html"

ns_section ns/server/${server}/redirects
ns_param 404 "global/file-not-found.html"
ns_param 403 "global/forbidden.html"

You can reproduce the error in a fresh openacs install.

Thanks for the help,

Best Regards

Collapse
Posted by Don Baccus on
This bug was supposedly fixed in AOLserver 4.5.1:

https://openacs.org/forums/message-view?message_id=2115048

but apparently it hasn't been?