From 74863e2716272259199a9a888db5bb2b2c0dda4b Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Fri, 14 Sep 2007 04:04:37 +0200 Subject: [PATCH] Fixed module initialization order, so we end up behinx index_module --- config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config b/config index b6c5f77..cbc7a79 100644 --- a/config +++ b/config @@ -1,4 +1,7 @@ # vim:ft=sh: ngx_addon_name=ngx_http_fancyindex_module -HTTP_MODULES="$HTTP_MODULES ngx_http_fancyindex_module" + +# XXX: Insert fancyindex module *after* index module! +# +HTTP_MODULES="${HTTP_MODULES/ngx_http_index_module/ngx_http_fancyindex_module ngx_http_index_module}" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_fancyindex_module.c"