On Fri, Nov 08, 2002 at 11:19:09AM -0700, Michael A. Cleverly wrote: > On Fri, 8 Nov 2002, Andrew Piskorski wrote: > > > And 'ns_conn request' gives you the URL as received from the client, > > but AFAIK there's no API to let you change it. > > The aol3.3+ad13 distribution has an "nsrewrite" .so module that enables > this, iirc.
Heh, so it does! And the code is VERY simple too. It just creates the Tcl command ns_rewriteurl, which calls Ns_SetRequestUrl, just as Rob outlined below. On Fri, Nov 08, 2002 at 12:26:02PM -0600, Rob Mayoff wrote: > Write a module that provides a Tcl binding for Ns_SetRequestUrl. Then > use a that to write a Tcl preauth filter that smashes the URL to > lowercase. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com
