Changeset 1887
- Timestamp:
- 08/20/08 23:43:13 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/admin/ModuleCustomError.py (added)
- cherokee/trunk/admin/consts.py (modified) (1 diff)
- cherokee/trunk/cherokee/Makefile.am (modified) (3 diffs)
- cherokee/trunk/cherokee/handler_custom_error.c (added)
- cherokee/trunk/cherokee/handler_custom_error.h (added)
- cherokee/trunk/configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1885 r1887 1 1 2008-08-20 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/handler_custom_error.c, configure.in, 4 cherokee/handler_custom_error.h, cherokee/Makefile.am, 5 admin/ModuleCustomError.py, admin/consts.py: This patch adds a new 6 handler for replying custom HTTP error codes. It includes both the 7 server side and the administrarion interface module. 2 8 3 9 * cherokee/virtual_server.c, cherokee/util.c, cherokee/util.h, cherokee/trunk/admin/consts.py
r1880 r1887 9 9 ('scgi', 'SCGI'), 10 10 ('server_info', 'Server Info'), 11 ('custom_error','HTTP error'), 11 12 ('mirror', 'Generic balancer'), 12 13 ('admin', 'Remote Administration') cherokee/trunk/cherokee/Makefile.am
r1882 r1887 524 524 else 525 525 dynamic_handler_mirror_lib = libplugin_mirror.la 526 endif 527 528 529 # 530 # Handler custom_error 531 # 532 handler_custom_error = \ 533 handler_custom_error.c \ 534 handler_custom_error.h 535 536 libplugin_custom_error_la_LDFLAGS = $(module_ldflags) 537 libplugin_custom_error_la_SOURCES = $(handler_custom_error) 538 libplugin_custom_error_la_LIBADD = libcherokee-client.la 539 540 if STATIC_HANDLER_CUSTOM_ERROR 541 static_handler_custom_error_src = $(handler_custom_error) 542 else 543 dynamic_handler_custom_error_lib = libplugin_custom_error.la 526 544 endif 527 545 … … 1000 1018 $(static_handler_proxy_src) \ 1001 1019 $(static_handler_mirror_src) \ 1020 $(static_handler_custom_error_src) \ 1002 1021 $(static_handler_server_info_src) \ 1003 1022 \ … … 1152 1171 $(dynamic_handler_proxy_lib) \ 1153 1172 $(dynamic_handler_mirror_lib) \ 1173 $(dynamic_handler_custom_error_lib) \ 1154 1174 $(dynamic_handler_error_redir_lib) \ 1155 1175 $(dynamic_handler_error_nn_lib) \ cherokee/trunk/configure.in
r1829 r1887 1194 1194 [use_static_module="$use_static_module $enableval "],[]) 1195 1195 1196 modules="error_redir error_nn server_info file admin dirlist fcgi fastcgi scgi redir common cgi phpcgi proxy mirror gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or"1196 modules="error_redir error_nn server_info file admin dirlist fcgi fastcgi scgi redir common cgi phpcgi proxy mirror custom_error gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or" 1197 1197 1198 1198 # Remove modules that will not be compiles … … 1260 1260 AM_CONDITIONAL(STATIC_HANDLER_PROXY, grep proxy $conf_h >/dev/null) 1261 1261 AM_CONDITIONAL(STATIC_HANDLER_MIRROR, grep mirror $conf_h >/dev/null) 1262 AM_CONDITIONAL(STATIC_HANDLER_CUSTOM_ERROR, grep custom_error $conf_h >/dev/null) 1262 1263 AM_CONDITIONAL(STATIC_ENCODER_GZIP, grep gzip $conf_h >/dev/null) 1263 1264 AM_CONDITIONAL(STATIC_ENCODER_DEFLATE, grep deflate $conf_h >/dev/null)