> I'm afraid you may have caugt a slight case of > not-reading-the-documentation-carefully-enough-itis. Unfortunately, > when dealing with mod_rewrite, this affliction can be deadly. > > If you look carefully at the example map program here: > http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritemap > even without perl skills, you should be able to get the key point: the > script needs to loop on standard input. It is not started fresh for > each request. It is started only once and each request gives it a new > line of standard input. So your script must loop on standard input, > processing stdin one line at a time and writing its results to > standard output. > > Joshua. I get that all the time. I should go see a doctor. I'll 'rewrite' my script and let you know. thanks. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx