Archive of UserLand's first discussion group, started October 5, 1998.

Re: Using MR with WebSTAR and Pre-Processors

Author:Matt Neuburg
Posted:10/21/1999; 10:02:25 AM
Topic:Using MR with WebSTAR and Pre-Processors
Msg #:12224 (In response to 8861)
Prev/Next:12223 / 12225

Incidentally, I should point out that using string.lower(adrparams^.fullrequest) as the value of req is not very sophisticated. You might want to try taking string.nthword(req, 2) instead. This gives you the requested path, which is usually what one is interested in.

The danger is that by looking at the *whole* request, one may get a false positive. For instance, if the referrer page contains ".html" (which is extremely likely), the preprocessor will reject the request on that basis, which is not the desired behavior. Mark Stracke and I just got bit by this. m.




This page was archived on 6/13/2001; 4:53:08 PM.

© Copyright 1998-2001 UserLand Software, Inc.