--- a/process.c Sat Nov 05 12:52:29 2011 -0700
+++ b/process.c Mon Nov 07 10:43:06 2011 -0800
@@ -108,6 +108,7 @@
printf( "%s", rule->path ? rule->path : request->path );
printf("\n");
+ fflush( stdout );
return;
}
@@ -134,7 +135,7 @@
}
/* compile the regexp */
- if ( (re_rv = regcomp( &re, rule->path_re, REG_EXTENDED | REG_NOSUB )) != 0 ) {
+ if ( (re_rv = regcomp( &re, rule->path_re, REG_EXTENDED | REG_NOSUB | REG_ICASE )) != 0 ) {
regerror( re_rv, &re, re_err, 128 );
debug( 4, LOC, "Invalid regex: \"%s\": %s\n", rule->path_re, re_err );
regfree( &re );