summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-10-25 15:29:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-10-25 15:29:23 +0000
commit723e6cc248470b95f62e338cd5e1a6514975f9cc (patch)
treedd9fb2b16d384f241c2303d3cbb6e25aeeb89ab0 /auto/modules
parent4925ed843a96d9b2dbb41ef961cc37e9fa03539a (diff)
downloadnginx-release-0.1.3.tar.gz
nginx-release-0.1.3.tar.bz2
nginx-0.1.3-RELEASE importrelease-0.1.3
*) Feature: the ngx_http_autoindex_module and the autoindex directive. *) Feature: the proxy_set_x_url directive. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used.
Diffstat (limited to '')
-rw-r--r--auto/modules10
1 files changed, 9 insertions, 1 deletions
diff --git a/auto/modules b/auto/modules
index 6c5111a28..7d79205fe 100644
--- a/auto/modules
+++ b/auto/modules
@@ -87,7 +87,15 @@ if [ $HTTP_USERID = YES ]; then
HTTP_SRCS="$HTTP_SRCS $HTTP_USERID_SRCS"
fi
-HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE $HTTP_INDEX_MODULE"
+HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE"
+
+if [ $HTTP_AUTOINDEX = YES ]; then
+ have=NGX_HTTP_AUTOINDEX . auto/have
+ HTTP_MODULES="$HTTP_MODULES $HTTP_AUTOINDEX_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_AUTOINDEX_SRCS"
+fi
+
+HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE"
if [ $HTTP_ACCESS = YES ]; then
have=NGX_HTTP_ACCESS . auto/have