nginx-0.0.1-2004-01-26-11:52:49 import
diff --git a/auto/make b/auto/make
index c210d7e..a44963e 100644
--- a/auto/make
+++ b/auto/make
@@ -21,6 +21,11 @@
     HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_SRCS"
 fi
 
+if [ $HTTP_SSI = YES ]; then
+    HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSI_FILTER_MODULE"
+    HTTP_SRCS="$HTTP_SRCS $HTTP_SSI_SRCS"
+fi
+
 if [ $HTTP_PROXY = YES ]; then
     HTTP_MODULES="$HTTP_MODULES $HTTP_PROXY_MODULE"
     HTTP_INCS="$HTTP_INCS $HTTP_PROXY_INCS"
diff --git a/auto/options b/auto/options
index 80302e4..3064a95 100644
--- a/auto/options
+++ b/auto/options
@@ -11,6 +11,7 @@
 
 HTTP_REWRITE=YES
 HTTP_GZIP=YES
+HTTP_SSI=YES
 HTTP_PROXY=YES
 
 PCRE=NO
@@ -42,6 +43,7 @@
         --without-poll_module)           POLL=NO                    ;;
 
         --without-http_rewrite_module)   HTTP_REWRITE=NO            ;;
+        --without-http_ssi_module)       HTTP_SSI=NO                ;;
         --without-http_gzip_module)      HTTP_GZIP=NO               ;;
         --without-http_proxy_module)     HTTP_PROXY=NO              ;;
 
diff --git a/auto/sources b/auto/sources
index f6f8de7..b352eff 100644
--- a/auto/sources
+++ b/auto/sources
@@ -206,6 +206,10 @@
 HTTP_GZIP_WIN_LIBS=zlib.lib
 
 
+HTTP_SSI_FILTER_MODULE=ngx_http_ssi_filter_module
+HTTP_SSI_SRCS=src/http/modules/ngx_http_ssi_filter.c
+
+
 HTTP_PROXY_MODULE=ngx_http_proxy_module
 HTTP_PROXY_INCS="-I src/http/modules/proxy"
 HTTP_PROXY_DEPS=src/http/modules/proxy/ngx_http_proxy_handler.h