On Thu, Feb 13, 2003 at 05:05:58PM -0500, Jason wrote: > > Andy Todd wrote: > > >RewriteEngine on > >RewriteRule ^/qdemo(/.^) /usr/lib/cgi-bin/demo.cgi > > > > > > > Try > > RewriteEngine on > RewriteRule ^/qdemo(/.*)?$ /cgi-bin/demo.cgi$1 [PT] > > The PT tells mod_rewrite to map URI's to URI's, not to filenames, and > the $1 is important, or else the demo.cgi script won't get the rest of > the path info. > This is probably not the most efficient way to get mod_rewrite to do > what you want, but if you want speed, use mod_python instead. :-) > > Later, > > Jason > jpetry@gstisecurity.com > > > Thanks Jason, that works. My next question is, why? Changing the re-write flag from last to passthrough makes all the difference but does it have performane or security implications? It seems to take a little while to process the rewrite on my stand alone system and I'm worried that I might bring a production server to a halt using it. Thanks, Andy -- -------------------------------------------------------------------------------- >From the desk of Andrew J Todd esq - http://www.halfcooked.com/