Mercurial > hg > nginx-quic
annotate auto/options @ 4617:972642646f06
Rewrite: fixed escaping and possible segfault (ticket #162).
The following code resulted in incorrect escaping of uri and possible
segfault:
location / {
rewrite ^(.*) $1?c=$1;
return 200 "$uri";
}
If there were arguments in a rewrite's replacement string, and length was
actually calculated (due to duplicate captures as in the example above,
or variables present), the is_args flag was set and incorrectly copied
after length calculation. This resulted in escaping applied to the uri part
of the replacement, resulting in incorrect escaping. Additionally, buffer
was allocated without escaping expected, thus this also resulted in buffer
overrun and possible segfault.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 11 May 2012 13:19:22 +0000 |
parents | d620f497c50f |
children | a2ca3a6ee680 |
rev | line source |
---|---|
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
440
diff
changeset
|
1 |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
440
diff
changeset
|
2 # Copyright (C) Igor Sysoev |
4412 | 3 # Copyright (C) Nginx, Inc. |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
4 |
455 | 5 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
6 help=no |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
7 |
469 | 8 NGX_PREFIX= |
9 NGX_SBIN_PATH= | |
1352 | 10 NGX_CONF_PREFIX= |
469 | 11 NGX_CONF_PATH= |
12 NGX_ERROR_LOG_PATH= | |
13 NGX_PID_PATH= | |
611 | 14 NGX_LOCK_PATH= |
455 | 15 NGX_USER= |
16 NGX_GROUP= | |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
17 |
455 | 18 CC=${CC:-gcc} |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
19 CPP= |
455 | 20 NGX_OBJS=objs |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
21 |
469 | 22 NGX_DEBUG=NO |
455 | 23 NGX_CC_OPT= |
24 NGX_LD_OPT= | |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
25 CPU=NO |
283
8f65fee68270
nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
26 |
1490 | 27 NGX_RPATH=NO |
28 | |
469 | 29 NGX_TEST_BUILD_DEVPOLL=NO |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
30 NGX_TEST_BUILD_EVENTPORT=NO |
469 | 31 NGX_TEST_BUILD_EPOLL=NO |
32 NGX_TEST_BUILD_RTSIG=NO | |
473 | 33 NGX_TEST_BUILD_SOLARIS_SENDFILEV=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
34 |
469 | 35 NGX_PLATFORM= |
461 | 36 NGX_WINE= |
37 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
38 EVENT_FOUND=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
39 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
40 EVENT_RTSIG=NO |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
41 EVENT_SELECT=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
42 EVENT_POLL=NO |
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
43 EVENT_AIO=NO |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
44 |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
45 USE_THREADS=NO |
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
46 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
47 NGX_FILE_AIO=NO |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
48 NGX_IPV6=NO |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
49 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
50 HTTP=YES |
479 | 51 |
52 NGX_HTTP_LOG_PATH= | |
53 NGX_HTTP_CLIENT_TEMP_PATH= | |
54 NGX_HTTP_PROXY_TEMP_PATH= | |
55 NGX_HTTP_FASTCGI_TEMP_PATH= | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
56 NGX_HTTP_UWSGI_TEMP_PATH= |
3637 | 57 NGX_HTTP_SCGI_TEMP_PATH= |
479 | 58 |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
59 HTTP_CACHE=YES |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
60 HTTP_CHARSET=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
61 HTTP_GZIP=YES |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
62 HTTP_SSL=NO |
497 | 63 HTTP_SSI=YES |
509 | 64 HTTP_POSTPONE=NO |
573 | 65 HTTP_REALIP=NO |
2139 | 66 HTTP_XSLT=NO |
2788 | 67 HTTP_IMAGE_FILTER=NO |
1172 | 68 HTTP_SUB=NO |
629 | 69 HTTP_ADDITION=NO |
633 | 70 HTTP_DAV=NO |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
71 HTTP_ACCESS=YES |
503 | 72 HTTP_AUTH_BASIC=YES |
408
d6e2b445c1b8
nginx-0.0.10-2004-08-27-19:40:59 import
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
73 HTTP_USERID=YES |
457 | 74 HTTP_AUTOINDEX=YES |
2235 | 75 HTTP_RANDOM_INDEX=NO |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
76 HTTP_STATUS=NO |
485 | 77 HTTP_GEO=YES |
2985 | 78 HTTP_GEOIP=NO |
589 | 79 HTTP_MAP=YES |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
80 HTTP_SPLIT_CLIENTS=YES |
577 | 81 HTTP_REFERER=YES |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
82 HTTP_REWRITE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
83 HTTP_PROXY=YES |
479 | 84 HTTP_FASTCGI=YES |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
85 HTTP_UWSGI=YES |
3637 | 86 HTTP_SCGI=YES |
599 | 87 HTTP_PERL=NO |
581 | 88 HTTP_MEMCACHED=YES |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
89 HTTP_LIMIT_CONN=YES |
2294 | 90 HTTP_LIMIT_REQ=YES |
577 | 91 HTTP_EMPTY_GIF=YES |
700 | 92 HTTP_BROWSER=YES |
2260 | 93 HTTP_SECURE_LINK=NO |
3326 | 94 HTTP_DEGRADATION=NO |
753 | 95 HTTP_FLV=NO |
4085 | 96 HTTP_MP4=NO |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
97 HTTP_GZIP_STATIC=NO |
884 | 98 HTTP_UPSTREAM_IP_HASH=YES |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
99 HTTP_UPSTREAM_KEEPALIVE=YES |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
100 |
487 | 101 # STUB |
102 HTTP_STUB_STATUS=NO | |
103 | |
1136 | 104 MAIL=NO |
105 MAIL_SSL=NO | |
1487
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
106 MAIL_POP3=YES |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
107 MAIL_IMAP=YES |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
108 MAIL_SMTP=YES |
417
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
109 |
489 | 110 NGX_ADDONS= |
467 | 111 |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
112 USE_PCRE=NO |
263
43c26e85205a
nginx-0.0.2-2004-02-19-11:45:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
260
diff
changeset
|
113 PCRE=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
114 PCRE_OPT= |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
115 PCRE_CONF_OPT= |
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
116 PCRE_JIT=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
117 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
118 USE_OPENSSL=NO |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
119 OPENSSL=NONE |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
120 |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
121 USE_MD5=NO |
253
b6793bc5034b
nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
122 MD5=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
123 MD5_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
124 MD5_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
125 |
653 | 126 USE_SHA1=NO |
127 SHA1=NONE | |
128 SHA1_OPT= | |
129 SHA1_ASM=NO | |
130 | |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
131 USE_ZLIB=NO |
253
b6793bc5034b
nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
132 ZLIB=NONE |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
133 ZLIB_OPT= |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
134 ZLIB_ASM=NO |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
135 |
599 | 136 USE_PERL=NO |
137 NGX_PERL=perl | |
138 | |
2139 | 139 USE_LIBXSLT=NO |
2788 | 140 USE_LIBGD=NO |
2139 | 141 |
1949 | 142 NGX_GOOGLE_PERFTOOLS=NO |
2157 | 143 NGX_CPP_TEST=NO |
1949 | 144 |
3363 | 145 NGX_LIBATOMIC=NO |
146 | |
589 | 147 NGX_CPU_CACHE_LINE= |
148 | |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
149 NGX_POST_CONF_MSG= |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
150 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
151 opt= |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
152 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
153 for option |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
154 do |
2872 | 155 opt="$opt `echo $option | sed -e \"s/\(--[^=]*=\)\(.* .*\)/\1'\2'/\"`" |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
156 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
157 case "$option" in |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
158 -*=*) value=`echo "$option" | sed -e 's/[-_a-zA-Z0-9]*=//'` ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
159 *) value="" ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
160 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
161 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
162 case "$option" in |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
163 --help) help=yes ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
164 |
2758 | 165 --prefix=) NGX_PREFIX="!" ;; |
469 | 166 --prefix=*) NGX_PREFIX="$value" ;; |
167 --sbin-path=*) NGX_SBIN_PATH="$value" ;; | |
168 --conf-path=*) NGX_CONF_PATH="$value" ;; | |
169 --error-log-path=*) NGX_ERROR_LOG_PATH="$value";; | |
170 --pid-path=*) NGX_PID_PATH="$value" ;; | |
611 | 171 --lock-path=*) NGX_LOCK_PATH="$value" ;; |
455 | 172 --user=*) NGX_USER="$value" ;; |
173 --group=*) NGX_GROUP="$value" ;; | |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
174 |
469 | 175 --crossbuild=*) NGX_PLATFORM="$value" ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
176 |
455 | 177 --builddir=*) NGX_OBJS="$value" ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
178 |
260
5dacbb4daaf6
nginx-0.0.2-2004-02-17-20:53:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
255
diff
changeset
|
179 --with-rtsig_module) EVENT_RTSIG=YES ;; |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
180 --with-select_module) EVENT_SELECT=YES ;; |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
181 --without-select_module) EVENT_SELECT=NONE ;; |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
182 --with-poll_module) EVENT_POLL=YES ;; |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
253
diff
changeset
|
183 --without-poll_module) EVENT_POLL=NONE ;; |
248
e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
246
diff
changeset
|
184 --with-aio_module) EVENT_AIO=YES ;; |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
185 |
1979
278a1d3b4dbf
disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
186 #--with-threads=*) USE_THREADS="$value" ;; |
278a1d3b4dbf
disable confusing messages about threads
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
187 #--with-threads) USE_THREADS="pthreads" ;; |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
264
diff
changeset
|
188 |
3052
6060225e9261
FreeBSD and Linux AIO support
Igor Sysoev <igor@sysoev.ru>
parents:
2991
diff
changeset
|
189 --with-file-aio) NGX_FILE_AIO=YES ;; |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
190 --with-ipv6) NGX_IPV6=YES ;; |
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
191 |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
192 --without-http) HTTP=NO ;; |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
193 --without-http-cache) HTTP_CACHE=NO ;; |
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
194 |
469 | 195 --http-log-path=*) NGX_HTTP_LOG_PATH="$value" ;; |
479 | 196 --http-client-body-temp-path=*) NGX_HTTP_CLIENT_TEMP_PATH="$value" ;; |
197 --http-proxy-temp-path=*) NGX_HTTP_PROXY_TEMP_PATH="$value" ;; | |
198 --http-fastcgi-temp-path=*) NGX_HTTP_FASTCGI_TEMP_PATH="$value" ;; | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
199 --http-uwsgi-temp-path=*) NGX_HTTP_UWSGI_TEMP_PATH="$value" ;; |
3637 | 200 --http-scgi-temp-path=*) NGX_HTTP_SCGI_TEMP_PATH="$value" ;; |
415
3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
Igor Sysoev <igor@sysoev.ru>
parents:
409
diff
changeset
|
201 |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
202 --with-http_ssl_module) HTTP_SSL=YES ;; |
573 | 203 --with-http_realip_module) HTTP_REALIP=YES ;; |
629 | 204 --with-http_addition_module) HTTP_ADDITION=YES ;; |
2139 | 205 --with-http_xslt_module) HTTP_XSLT=YES ;; |
2788 | 206 --with-http_image_filter_module) HTTP_IMAGE_FILTER=YES ;; |
2985 | 207 --with-http_geoip_module) HTTP_GEOIP=YES ;; |
1172 | 208 --with-http_sub_module) HTTP_SUB=YES ;; |
633 | 209 --with-http_dav_module) HTTP_DAV=YES ;; |
753 | 210 --with-http_flv_module) HTTP_FLV=YES ;; |
4085 | 211 --with-http_mp4_module) HTTP_MP4=YES ;; |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
212 --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;; |
2235 | 213 --with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;; |
2260 | 214 --with-http_secure_link_module) HTTP_SECURE_LINK=YES ;; |
3326 | 215 --with-http_degradation_module) HTTP_DEGRADATION=YES ;; |
633 | 216 |
364
7c54d93f5965
nginx-0.0.7-2004-06-22-20:43:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
337
diff
changeset
|
217 --without-http_charset_module) HTTP_CHARSET=NO ;; |
383
c05876036128
nginx-0.0.7-2004-07-08-19:17:47 import
Igor Sysoev <igor@sysoev.ru>
parents:
368
diff
changeset
|
218 --without-http_gzip_module) HTTP_GZIP=NO ;; |
239
574bea0142be
nginx-0.0.1-2004-01-26-11:52:49 import
Igor Sysoev <igor@sysoev.ru>
parents:
238
diff
changeset
|
219 --without-http_ssi_module) HTTP_SSI=NO ;; |
409
8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
Igor Sysoev <igor@sysoev.ru>
parents:
408
diff
changeset
|
220 --without-http_userid_module) HTTP_USERID=NO ;; |
368
15c84a40e87d
nginx-0.0.7-2004-06-24-20:07:04 import
Igor Sysoev <igor@sysoev.ru>
parents:
367
diff
changeset
|
221 --without-http_access_module) HTTP_ACCESS=NO ;; |
503 | 222 --without-http_auth_basic_module) HTTP_AUTH_BASIC=NO ;; |
457 | 223 --without-http_autoindex_module) HTTP_AUTOINDEX=NO ;; |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
224 --without-http_status_module) HTTP_STATUS=NO ;; |
485 | 225 --without-http_geo_module) HTTP_GEO=NO ;; |
589 | 226 --without-http_map_module) HTTP_MAP=NO ;; |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
227 --without-http_split_clients_module) HTTP_SPLIT_CLIENTS=NO ;; |
581 | 228 --without-http_referer_module) HTTP_REFERER=NO ;; |
367
ceec87d1c2b3
nginx-0.0.7-2004-06-24-11:53:37 import
Igor Sysoev <igor@sysoev.ru>
parents:
364
diff
changeset
|
229 --without-http_rewrite_module) HTTP_REWRITE=NO ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
230 --without-http_proxy_module) HTTP_PROXY=NO ;; |
479 | 231 --without-http_fastcgi_module) HTTP_FASTCGI=NO ;; |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
232 --without-http_uwsgi_module) HTTP_UWSGI=NO ;; |
3637 | 233 --without-http_scgi_module) HTTP_SCGI=NO ;; |
581 | 234 --without-http_memcached_module) HTTP_MEMCACHED=NO ;; |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
235 --without-http_limit_zone_module) |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
236 HTTP_LIMIT_CONN=NO |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
237 NGX_POST_CONF_MSG="$NGX_POST_CONF_MSG |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
238 $0: warning: the \"--without-http_limit_zone_module\" option is deprecated, \ |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
239 use the \"--without-http_limit_conn_module\" option instead" |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
240 ;; |
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
241 --without-http_limit_conn_module) HTTP_LIMIT_CONN=NO ;; |
2294 | 242 --without-http_limit_req_module) HTTP_LIMIT_REQ=NO ;; |
581 | 243 --without-http_empty_gif_module) HTTP_EMPTY_GIF=NO ;; |
700 | 244 --without-http_browser_module) HTTP_BROWSER=NO ;; |
884 | 245 --without-http_upstream_ip_hash_module) HTTP_UPSTREAM_IP_HASH=NO ;; |
4127
b2e21a39307c
Upstream keepalive module.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4085
diff
changeset
|
246 --without-http_upstream_keepalive_module) HTTP_UPSTREAM_KEEPALIVE=NO ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
247 |
599 | 248 --with-http_perl_module) HTTP_PERL=YES ;; |
249 --with-perl_modules_path=*) NGX_PERL_MODULES="$value" ;; | |
250 --with-perl=*) NGX_PERL="$value" ;; | |
251 | |
487 | 252 # STUB |
253 --with-http_stub_status_module) HTTP_STUB_STATUS=YES ;; | |
254 | |
1136 | 255 --with-mail) MAIL=YES ;; |
256 --with-mail_ssl_module) MAIL_SSL=YES ;; | |
257 # STUB | |
258 --with-imap) MAIL=YES ;; | |
259 --with-imap_ssl_module) MAIL_SSL=YES ;; | |
1487
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
260 --without-mail_pop3_module) MAIL_POP3=NO ;; |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
261 --without-mail_imap_module) MAIL_IMAP=NO ;; |
f69493e8faab
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
Igor Sysoev <igor@sysoev.ru>
parents:
1394
diff
changeset
|
262 --without-mail_smtp_module) MAIL_SMTP=NO ;; |
417
0526206251f6
nginx-0.0.10-2004-09-07-19:29:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
415
diff
changeset
|
263 |
1949 | 264 --with-google_perftools_module) NGX_GOOGLE_PERFTOOLS=YES ;; |
2172
c31c569708bd
fix ngx_cpp_test_module configure
Igor Sysoev <igor@sysoev.ru>
parents:
2157
diff
changeset
|
265 --with-cpp_test_module) NGX_CPP_TEST=YES ;; |
1949 | 266 |
489 | 267 --add-module=*) NGX_ADDONS="$NGX_ADDONS $value" ;; |
467 | 268 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
269 --with-cc=*) CC="$value" ;; |
286
fc8dc489247e
nginx-0.0.2-2004-03-12-00:34:52 import
Igor Sysoev <igor@sysoev.ru>
parents:
285
diff
changeset
|
270 --with-cpp=*) CPP="$value" ;; |
455 | 271 --with-cc-opt=*) NGX_CC_OPT="$value" ;; |
272 --with-ld-opt=*) NGX_LD_OPT="$value" ;; | |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
273 --with-cpu-opt=*) CPU="$value" ;; |
469 | 274 --with-debug) NGX_DEBUG=YES ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
275 |
264
cd009bf7400d
nginx-0.0.2-2004-02-19-19:48:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
263
diff
changeset
|
276 --without-pcre) USE_PCRE=DISABLED ;; |
2582 | 277 --with-pcre) USE_PCRE=YES ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
278 --with-pcre=*) PCRE="$value" ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
279 --with-pcre-opt=*) PCRE_OPT="$value" ;; |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
280 --with-pcre-jit) PCRE_JIT=YES ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
281 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
282 --with-openssl=*) OPENSSL="$value" ;; |
501 | 283 --with-openssl-opt=*) OPENSSL_OPT="$value" ;; |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
383
diff
changeset
|
284 |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
285 --with-md5=*) MD5="$value" ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
286 --with-md5-opt=*) MD5_OPT="$value" ;; |
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
287 --with-md5-asm) MD5_ASM=YES ;; |
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
288 |
653 | 289 --with-sha1=*) SHA1="$value" ;; |
290 --with-sha1-opt=*) SHA1_OPT="$value" ;; | |
291 --with-sha1-asm) SHA1_ASM=YES ;; | |
292 | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
293 --with-zlib=*) ZLIB="$value" ;; |
283
8f65fee68270
nginx-0.0.2-2004-03-10-20:55:19 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
294 --with-zlib-opt=*) ZLIB_OPT="$value" ;; |
284
1fecc9478d92
nginx-0.0.2-2004-03-10-23:56:39 import
Igor Sysoev <igor@sysoev.ru>
parents:
283
diff
changeset
|
295 --with-zlib-asm=*) ZLIB_ASM="$value" ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
296 |
3363 | 297 --with-libatomic) NGX_LIBATOMIC=YES ;; |
298 --with-libatomic=*) NGX_LIBATOMIC="$value" ;; | |
299 | |
469 | 300 --test-build-devpoll) NGX_TEST_BUILD_DEVPOLL=YES ;; |
719
f30b1a75fd3b
Solaris 10 event ports support
Igor Sysoev <igor@sysoev.ru>
parents:
700
diff
changeset
|
301 --test-build-eventport) NGX_TEST_BUILD_EVENTPORT=YES ;; |
469 | 302 --test-build-epoll) NGX_TEST_BUILD_EPOLL=YES ;; |
303 --test-build-rtsig) NGX_TEST_BUILD_RTSIG=YES ;; | |
473 | 304 --test-build-solaris-sendfilev) NGX_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
305 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
306 *) |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
307 echo "$0: error: invalid option \"$option\"" |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
308 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
309 ;; |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
310 esac |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
311 done |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
312 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
313 |
2755
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
314 NGX_CONFIGURE="$opt" |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
315 |
a65976a205a5
add quotes for configure options with spaces
Igor Sysoev <igor@sysoev.ru>
parents:
2592
diff
changeset
|
316 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
195
diff
changeset
|
317 if [ $help = yes ]; then |
455 | 318 |
319 cat << END | |
320 | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
321 --help print this message |
479 | 322 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
323 --prefix=PATH set installation prefix |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
324 --sbin-path=PATH set nginx binary pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
325 --conf-path=PATH set nginx.conf pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
326 --error-log-path=PATH set error log pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
327 --pid-path=PATH set nginx.pid pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
328 --lock-path=PATH set nginx.lock pathname |
479 | 329 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
330 --user=USER set non-privileged user for |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
331 worker processes |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
332 --group=GROUP set non-privileged group for |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
333 worker processes |
479 | 334 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
335 --builddir=DIR set build directory |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
336 |
479 | 337 --with-rtsig_module enable rtsig module |
338 --with-select_module enable select module | |
339 --without-select_module disable select module | |
340 --with-poll_module enable poll module | |
341 --without-poll_module disable poll module | |
455 | 342 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
343 --with-file-aio enable file AIO support |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
344 --with-ipv6 enable IPv6 support |
2512
2e91aecb9e57
a prelimiary IPv6 support, HTTP listen
Igor Sysoev <igor@sysoev.ru>
parents:
2294
diff
changeset
|
345 |
479 | 346 --with-http_ssl_module enable ngx_http_ssl_module |
581 | 347 --with-http_realip_module enable ngx_http_realip_module |
635 | 348 --with-http_addition_module enable ngx_http_addition_module |
2139 | 349 --with-http_xslt_module enable ngx_http_xslt_module |
2793
411653b73d7c
add --with-http_image_filter_module to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
350 --with-http_image_filter_module enable ngx_http_image_filter_module |
2991 | 351 --with-http_geoip_module enable ngx_http_geoip_module |
1172 | 352 --with-http_sub_module enable ngx_http_sub_module |
635 | 353 --with-http_dav_module enable ngx_http_dav_module |
753 | 354 --with-http_flv_module enable ngx_http_flv_module |
4085 | 355 --with-http_mp4_module enable ngx_http_mp4_module |
1790
775edc46ee66
ngx_http_gzip_static_module and gzip_disable
Igor Sysoev <igor@sysoev.ru>
parents:
1498
diff
changeset
|
356 --with-http_gzip_static_module enable ngx_http_gzip_static_module |
2235 | 357 --with-http_random_index_module enable ngx_http_random_index_module |
2260 | 358 --with-http_secure_link_module enable ngx_http_secure_link_module |
3326 | 359 --with-http_degradation_module enable ngx_http_degradation_module |
1188 | 360 --with-http_stub_status_module enable ngx_http_stub_status_module |
635 | 361 |
479 | 362 --without-http_charset_module disable ngx_http_charset_module |
363 --without-http_gzip_module disable ngx_http_gzip_module | |
501 | 364 --without-http_ssi_module disable ngx_http_ssi_module |
479 | 365 --without-http_userid_module disable ngx_http_userid_module |
366 --without-http_access_module disable ngx_http_access_module | |
503 | 367 --without-http_auth_basic_module disable ngx_http_auth_basic_module |
479 | 368 --without-http_autoindex_module disable ngx_http_autoindex_module |
485 | 369 --without-http_geo_module disable ngx_http_geo_module |
722
0ca72814cb3f
add missing entries to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents:
719
diff
changeset
|
370 --without-http_map_module disable ngx_http_map_module |
3513
e60e00b4fe0c
ngx_http_split_clients_module
Igor Sysoev <igor@sysoev.ru>
parents:
3363
diff
changeset
|
371 --without-http_split_clients_module disable ngx_http_split_clients_module |
581 | 372 --without-http_referer_module disable ngx_http_referer_module |
479 | 373 --without-http_rewrite_module disable ngx_http_rewrite_module |
374 --without-http_proxy_module disable ngx_http_proxy_module | |
375 --without-http_fastcgi_module disable ngx_http_fastcgi_module | |
3541
21452748d165
import original ngx_http_uwsgi_module version
Igor Sysoev <igor@sysoev.ru>
parents:
3513
diff
changeset
|
376 --without-http_uwsgi_module disable ngx_http_uwsgi_module |
3637 | 377 --without-http_scgi_module disable ngx_http_scgi_module |
581 | 378 --without-http_memcached_module disable ngx_http_memcached_module |
4280
91874133fb27
Renamed ngx_http_limit_zone_module to ngx_http_limit_conn_module.
Valentin Bartenev <vbart@nginx.com>
parents:
4230
diff
changeset
|
379 --without-http_limit_conn_module disable ngx_http_limit_conn_module |
2294 | 380 --without-http_limit_req_module disable ngx_http_limit_req_module |
581 | 381 --without-http_empty_gif_module disable ngx_http_empty_gif_module |
722
0ca72814cb3f
add missing entries to ./configure --help
Igor Sysoev <igor@sysoev.ru>
parents:
719
diff
changeset
|
382 --without-http_browser_module disable ngx_http_browser_module |
884 | 383 --without-http_upstream_ip_hash_module |
384 disable ngx_http_upstream_ip_hash_module | |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
385 |
599 | 386 --with-http_perl_module enable ngx_http_perl_module |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
387 --with-perl_modules_path=PATH set Perl modules path |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
388 --with-perl=PATH set perl binary pathname |
599 | 389 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
390 --http-log-path=PATH set http access log pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
391 --http-client-body-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
392 http client request body temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
393 --http-proxy-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
394 http proxy temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
395 --http-fastcgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
396 http fastcgi temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
397 --http-uwsgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
398 http uwsgi temporary files |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
399 --http-scgi-temp-path=PATH set path to store |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
400 http scgi temporary files |
479 | 401 |
529 | 402 --without-http disable HTTP server |
2592
3a8a53c0c42f
a prelimiary proxy cache support
Igor Sysoev <igor@sysoev.ru>
parents:
2582
diff
changeset
|
403 --without-http-cache disable HTTP cache |
529 | 404 |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
405 --with-mail enable POP3/IMAP4/SMTP proxy module |
1136 | 406 --with-mail_ssl_module enable ngx_mail_ssl_module |
1498
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
407 --without-mail_pop3_module disable ngx_mail_pop3_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
408 --without-mail_imap_module disable ngx_mail_imap_module |
d23d9b5969e7
document mail modules options
Igor Sysoev <igor@sysoev.ru>
parents:
1490
diff
changeset
|
409 --without-mail_smtp_module disable ngx_mail_smtp_module |
529 | 410 |
1949 | 411 --with-google_perftools_module enable ngx_google_perftools_module |
2157 | 412 --with-cpp_test_module enable ngx_cpp_test_module |
1949 | 413 |
1188 | 414 --add-module=PATH enable an external module |
415 | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
416 --with-cc=PATH set C compiler pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
417 --with-cpp=PATH set C preprocessor pathname |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
418 --with-cc-opt=OPTIONS set additional C compiler options |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
419 --with-ld-opt=OPTIONS set additional linker options |
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
420 --with-cpu-opt=CPU build for the specified CPU, valid values: |
613 | 421 pentium, pentiumpro, pentium3, pentium4, |
422 athlon, opteron, sparc32, sparc64, ppc64 | |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
423 |
2581 | 424 --without-pcre disable PCRE library usage |
2582 | 425 --with-pcre force PCRE library usage |
479 | 426 --with-pcre=DIR set path to PCRE library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
427 --with-pcre-opt=OPTIONS set additional build options for PCRE |
4388
005fc2d5e84f
Added support for regex study and PCRE JIT (ticket #41) optimizations on
Valentin Bartenev <vbart@nginx.com>
parents:
4280
diff
changeset
|
428 --with-pcre-jit build PCRE with JIT compilation support |
479 | 429 |
430 --with-md5=DIR set path to md5 library sources | |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
431 --with-md5-opt=OPTIONS set additional build options for md5 |
479 | 432 --with-md5-asm use md5 assembler sources |
238
674f85a4d00f
nginx-0.0.1-2004-01-23-12:26:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
216
diff
changeset
|
433 |
653 | 434 --with-sha1=DIR set path to sha1 library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
435 --with-sha1-opt=OPTIONS set additional build options for sha1 |
653 | 436 --with-sha1-asm use sha1 assembler sources |
437 | |
479 | 438 --with-zlib=DIR set path to zlib library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
439 --with-zlib-opt=OPTIONS set additional build options for zlib |
479 | 440 --with-zlib-asm=CPU use zlib assembler sources optimized |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
441 for the specified CPU, valid values: |
479 | 442 pentium, pentiumpro |
443 | |
3363 | 444 --with-libatomic force libatomic_ops library usage |
445 --with-libatomic=DIR set path to libatomic_ops library sources | |
446 | |
479 | 447 --with-openssl=DIR set path to OpenSSL library sources |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
448 --with-openssl-opt=OPTIONS set additional build options for OpenSSL |
479 | 449 |
4230
bd4abbf41e49
Revamped "configure --help" text.
Ruslan Ermilov <ru@nginx.com>
parents:
4127
diff
changeset
|
450 --with-debug enable debug logging |
455 | 451 |
452 END | |
195
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
453 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
454 exit 1 |
8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
455 fi |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
456 |
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
457 |
424
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
458 if [ $HTTP = NO ]; then |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
459 HTTP_CHARSET=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
460 HTTP_GZIP=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
461 HTTP_SSI=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
462 HTTP_USERID=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
463 HTTP_ACCESS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
464 HTTP_STATUS=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
465 HTTP_REWRITE=NO |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
466 HTTP_PROXY=NO |
479 | 467 HTTP_FASTCGI=NO |
424
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
468 fi |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
469 |
84c527908237
nginx-0.0.10-2004-09-14-09:45:22 import
Igor Sysoev <igor@sysoev.ru>
parents:
417
diff
changeset
|
470 |
469 | 471 if [ ".$NGX_PLATFORM" = ".win32" ]; then |
461 | 472 NGX_WINE=$WINE |
323
ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
Igor Sysoev <igor@sysoev.ru>
parents:
315
diff
changeset
|
473 fi |
337
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
474 |
4feff829a849
nginx-0.0.3-2004-05-19-00:28:54 import
Igor Sysoev <igor@sysoev.ru>
parents:
323
diff
changeset
|
475 |
2758 | 476 NGX_CONF_PATH=${NGX_CONF_PATH:-conf/nginx.conf} |
1394 | 477 NGX_CONF_PREFIX=`dirname $NGX_CONF_PATH` |
2758 | 478 NGX_PID_PATH=${NGX_PID_PATH:-logs/nginx.pid} |
479 NGX_LOCK_PATH=${NGX_LOCK_PATH:-logs/nginx.lock} | |
440
f390d1775430
nginx-0.1.0-2004-09-27-20:03:21 import
Igor Sysoev <igor@sysoev.ru>
parents:
424
diff
changeset
|
480 |
2758 | 481 if [ ".$NGX_ERROR_LOG_PATH" = ".stderr" ]; then |
482 NGX_ERROR_LOG_PATH= | |
483 else | |
484 NGX_ERROR_LOG_PATH=${NGX_ERROR_LOG_PATH:-logs/error.log} | |
485 fi | |
479 | 486 |
2758 | 487 NGX_HTTP_LOG_PATH=${NGX_HTTP_LOG_PATH:-logs/access.log} |
488 NGX_HTTP_CLIENT_TEMP_PATH=${NGX_HTTP_CLIENT_TEMP_PATH:-client_body_temp} | |
489 NGX_HTTP_PROXY_TEMP_PATH=${NGX_HTTP_PROXY_TEMP_PATH:-proxy_temp} | |
490 NGX_HTTP_FASTCGI_TEMP_PATH=${NGX_HTTP_FASTCGI_TEMP_PATH:-fastcgi_temp} | |
3549
0b3613117ac5
./configure --http-uwsgi-temp-path=PATH
Igor Sysoev <igor@sysoev.ru>
parents:
3541
diff
changeset
|
491 NGX_HTTP_UWSGI_TEMP_PATH=${NGX_HTTP_UWSGI_TEMP_PATH:-uwsgi_temp} |
3637 | 492 NGX_HTTP_SCGI_TEMP_PATH=${NGX_HTTP_SCGI_TEMP_PATH:-scgi_temp} |
599 | 493 |
494 case ".$NGX_PERL_MODULES" in | |
495 ./*) | |
496 ;; | |
497 | |
498 .) | |
499 ;; | |
500 | |
501 *) | |
502 NGX_PERL_MODULES=$NGX_PREFIX/$NGX_PERL_MODULES | |
503 ;; | |
504 esac |