[users@httpd] MD5CRYPT depreciation
Know its author has insisted nobody use this anymore, will Apache httpd soon support sha2 in its authentication dbd modules - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Question: run CGI under Apache2 on ubuntu11.10
Dear All, I write a cgi program (coding in C) and run on apache2. (ver 2.2.x) Now the client side get response data until the for loop end. But I have to response data to client immediately instead of the CGI finished. What can I do for this issue ? Note: I have already disabled the deflate.load in /etc/apache2/mods-enabled/ My CGI source code are below: == #include stdio.h #include stdlib.h #include string.h #include sys/stat.h #include sys/types.h #include sys/wait.h #include time.h #include sys/ipc.h #include fcntl.h #include getopt.h #include sys/ioctl.h #include unistd.h #include cgivars.h #include dirent.h #include malloc.h #include stdio_ext.h #define XML_RESPONSE_NO_EVENT \ Notification\ ServerStatus\ Timestamp%s/Timestamp\ TypexVRSvrMgrStatus/Type\ Content\ xVrSvrMgrStatus-1/xVrSvrMgrStatus\ /Content\ /ServerStatus\ /Notification int handle_input_data(int form_method) { int i=0; printf(HTTP/1.1 200 OK\n); printf(Content-type: multipart/x-mixed-replace; boundary=xstringx\n); printf(\n); for(i=0;i15;i++) { printf(--xstringx\n); printf(Content-Type: text/xml; charset=utf-8\n); printf(Content-Length: %d\n\n, strlen(XML_RESPONSE_NO_EVENT)); printf(\n%s, XML_RESPONSE_NO_EVENT); printf(\n); fflush(stdout); sleep(1); } } return 0; } int main(void) { int form_method; // POST = 1, GET = 0 form_method = getRequestMethod(); handle_input_data(form_method); fflush(stdout); exit(0); } Thanks Best Regards, Tai
[users@httpd] configure error on openssl v1.0.1c for apache 2.2.22
Hi, all I am trying to upgrade my Openssl for Apache httpd to the latest version v1.0.1c on RHEL v6.2 (64 bit). Openssl compiled and installed no problem. I then tried to configure httpd v2.2.22 and got error message: checking for library containing crypt... -lcrypt checking for getpwnam... yes checking for getgrnam... yes checking for initgroups... yes checking for bindprocessor... no checking for prctl... yes checking for timegm... yes checking for getpgid... yes checking for void pointer length... no checking for tm_gmtoff in struct tm... yes checking whether to enable mod_authn_file... shared (all) checking whether to enable mod_authn_dbm... shared (all) checking whether to enable mod_authn_anon... shared (all) checking whether to enable mod_authn_dbd... shared (all) checking whether to enable mod_authn_default... shared (all) checking whether to enable mod_authn_alias... no checking whether to enable mod_authz_host... shared (all) checking whether to enable mod_authz_groupfile... shared (all) checking whether to enable mod_authz_user... shared (all) checking whether to enable mod_authz_dbm... shared (all) checking whether to enable mod_authz_owner... shared (all) checking whether to enable mod_authnz_ldap... checking dependencies checking whether to enable mod_authnz_ldap... shared (all) checking whether to enable mod_authz_default... shared (all) checking whether to enable mod_auth_basic... shared (all) checking whether to enable mod_auth_digest... checking dependencies checking whether to enable mod_auth_digest... shared (all) checking whether to enable mod_isapi... no checking whether to enable mod_file_cache... no checking whether to enable mod_cache... no checking whether to enable mod_disk_cache... no checking whether to enable mod_mem_cache... no checking whether to enable mod_dbd... shared (all) checking whether to enable mod_bucketeer... no checking whether to enable mod_dumpio... shared (all) checking whether to enable mod_echo... no checking whether to enable mod_example... no checking whether to enable mod_case_filter... no checking whether to enable mod_case_filter_in... no checking whether to enable mod_reqtimeout... shared (all) checking whether to enable mod_ext_filter... shared (all) checking whether to enable mod_include... shared (all) checking whether to enable mod_filter... shared (all) checking whether to enable mod_substitute... shared (all) checking whether to enable mod_charset_lite... no checking whether to enable mod_deflate... checking dependencies checking for zlib location... /usr adding -lz to LIBS checking for zlib library... found forcing MOD_DEFLATE_LDADD to -lz removed -lz from LIBS checking whether to enable mod_deflate... shared (all) checking whether to enable mod_ldap... checking dependencies checking whether to enable mod_ldap... shared (all) checking whether to enable mod_log_config... shared (all) checking whether to enable mod_log_forensic... shared (all) adding -I$(top_builddir)/server to INCLUDES checking whether to enable mod_logio... shared (all) checking whether to enable mod_env... shared (all) checking whether to enable mod_mime_magic... shared (all) checking whether to enable mod_cern_meta... shared (all) checking whether to enable mod_expires... shared (all) checking whether to enable mod_headers... shared (all) checking whether to enable mod_ident... shared (all) checking whether to enable mod_usertrack... checking dependencies checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for times... yes checking whether to enable mod_usertrack... shared (all) checking whether to enable mod_unique_id... shared (all) checking whether to enable mod_setenvif... shared (all) checking whether to enable mod_version... shared (all) checking whether to enable mod_proxy... shared (all) checking whether to enable mod_proxy_connect... shared (all) checking whether to enable mod_proxy_ftp... shared (all) checking whether to enable mod_proxy_http... shared (all) checking whether to enable mod_proxy_scgi... shared (all) checking whether to enable mod_proxy_ajp... shared (all) checking whether to enable mod_proxy_balancer... shared (all) adding -I$(top_srcdir)/modules/proxy/../generators to INCLUDES checking whether to enable mod_ssl... checking dependencies checking for SSL/TLS toolkit base... /usr/local/ssl-1.0.1c adding -I/usr/local/ssl-1.0.1c/include to CPPFLAGS adding -I/usr/local/ssl-1.0.1c/include to INCLUDES adding -L/usr/local/ssl-1.0.1c/lib to LDFLAGS checking for OpenSSL version... checking openssl/opensslv.h usability... yes checking openssl/opensslv.h presence... yes checking for openssl/opensslv.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes OK forcing SSL_LIBS to -lssl -lcrypto adding -lssl to LIBS adding -lcrypto to LIBS checking openssl/engine.h usability... yes checking openssl/engine.h