process.c
changeset 16 e6a640ad2cc2
parent 15 2706fc514dea
child 18 d4ce82194b64
--- 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 );