Hi
I'm looking at using the 404 redirects in AOLserver. There was a recent bug
fixed in 4.5.1. where 404s were not redirecting to the config file value e.g.
ns_section ns/server/${server}/redirects
ns_param 404 "/global/file-not-found.adp"
This works great now when I try to access a page that doesn't exist - it
redirects nicely to "/global/file-not-found.adp". However, when I make a call
to ns_returnerror with a 404 from within a .tcl page, it doesn't redirect to
"/global/file-not-found.adp" e.g.
ns_returnerror 404 "This is some error text"
gives me a page saying "Request Error" followed by the text I supplied to
ns_returnerror.
Is this expected behaviour i.e. a feature or a bug?
thanks
Brian
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<[email protected]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.