From e33b5930923a439f4c73b6dd64253578c4131420 Mon Sep 17 00:00:00 2001 From: toni Date: Mon, 15 Apr 2013 15:04:30 +0200 Subject: initial commit --- patches/lighttpd_mod_rewrite.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/lighttpd_mod_rewrite.patch (limited to 'patches/lighttpd_mod_rewrite.patch') diff --git a/patches/lighttpd_mod_rewrite.patch b/patches/lighttpd_mod_rewrite.patch new file mode 100644 index 0000000..4a2d31c --- /dev/null +++ b/patches/lighttpd_mod_rewrite.patch @@ -0,0 +1,11 @@ +--- src/mod_rewrite.c 2011-07-04 01:02:38.000000000 +0200 ++++ mod_rewrite.c 2011-07-04 01:03:41.000000000 +0200 +@@ -461,7 +461,7 @@ + /* skip if physical.path is a regular file */ + sce = NULL; + if (HANDLER_ERROR != stat_cache_get_entry(srv, con, con->physical.path, &sce)) { +- if (S_ISREG(sce->st.st_mode)) return HANDLER_GO_ON; ++ if (S_ISREG(sce->st.st_mode) || S_ISDIR(sce->st.st_mode)) return HANDLER_GO_ON; + } + + switch(r = process_rewrite_rules(srv, con, p, p->conf.rewrite_NF)) { -- cgit v1.2.3