summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-05 15:45:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-09-05 15:45:55 +0000
commit2e2b81d21311a500522befd766910e9f9a7241d8 (patch)
tree3d393e150555b39af7c4c3a7e2111d686afcba4d /auto
parentdfc8dadd04c7150d0f074bf650fab7beb4593513 (diff)
ngx_http_random_index_module
Diffstat (limited to 'auto')
-rw-r--r--auto/modules7
-rw-r--r--auto/options3
-rw-r--r--auto/sources4
3 files changed, 14 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 89f53b72..f6fde245 100644
--- a/auto/modules
+++ b/auto/modules
@@ -81,6 +81,7 @@ fi
# ngx_http_dav_module
# ngx_http_autoindex_module
# ngx_http_index_module
+# ngx_http_random_index_module
#
# ngx_http_access_module
# ngx_http_realip_module
@@ -177,6 +178,12 @@ fi
HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE"
+if [ $HTTP_RANDOM_INDEX = YES ]; then
+ have=NGX_HTTP_RANDOM_INDEX . auto/have
+ HTTP_MODULES="$HTTP_MODULES $HTTP_RANDOM_INDEX_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_RANDOM_INDEX_SRCS"
+fi
+
if [ $HTTP_AUTH_BASIC = YES ]; then
have=NGX_HTTP_AUTH_BASIC . auto/have
have=NGX_CRYPT . auto/have
diff --git a/auto/options b/auto/options
index 934edaaa..01b1ca2e 100644
--- a/auto/options
+++ b/auto/options
@@ -64,6 +64,7 @@ HTTP_ACCESS=YES
HTTP_AUTH_BASIC=YES
HTTP_USERID=YES
HTTP_AUTOINDEX=YES
+HTTP_RANDOM_INDEX=NO
HTTP_STATUS=NO
HTTP_GEO=YES
HTTP_MAP=YES
@@ -171,6 +172,7 @@ do
--with-http_dav_module) HTTP_DAV=YES ;;
--with-http_flv_module) HTTP_FLV=YES ;;
--with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
+ --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
--without-http_charset_module) HTTP_CHARSET=NO ;;
--without-http_gzip_module) HTTP_GZIP=NO ;;
@@ -287,6 +289,7 @@ cat << END
--with-http_dav_module enable ngx_http_dav_module
--with-http_flv_module enable ngx_http_flv_module
--with-http_gzip_static_module enable ngx_http_gzip_static_module
+ --with-http_random_index_module enable ngx_http_random_index_module
--with-http_stub_status_module enable ngx_http_stub_status_module
--without-http_charset_module disable ngx_http_charset_module
diff --git a/auto/sources b/auto/sources
index 5d1ec752..491c2e77 100644
--- a/auto/sources
+++ b/auto/sources
@@ -366,6 +366,10 @@ HTTP_AUTOINDEX_MODULE=ngx_http_autoindex_module
HTTP_AUTOINDEX_SRCS=src/http/modules/ngx_http_autoindex_module.c
+HTTP_RANDOM_INDEX_MODULE=ngx_http_random_index_module
+HTTP_RANDOM_INDEX_SRCS=src/http/modules/ngx_http_random_index_module.c
+
+
HTTP_STATUS_MODULE=ngx_http_status_module
HTTP_STATUS_SRCS=src/http/modules/ngx_http_status_module.c