rocknbil - 1:15 am on Sep 9, 2010 (gmt 0)
DOH what a dork. :-P
RewriteRule ^pagedirectory\/([^/]*)\/*(.*) /cgi-bin/page-parser.cgi?d=$1&p=$2 [L]
The bolded means *everything*. Including CSS. Which was being output as text/html by the script (and necessarily, too . . . DOH!) What a maroon. :-)
I'd overlooked it because I wanted to capture requests for /directoryname/ and directoryname/index.html . . . was too tired to remember it would capture directoryame/css/oops.css too.
<facepalm x 1000>