apache 2.4.1测试文档


tar xfz apr-1.4.6.tar.gz
tar xfz apr-util-1.4.1.tar.gz
tar xfz apr--iconv-1.2.1.tar.gz
mv apr-1.4.6 ../httpd-2.4.1/srclib/apr
mv apr-util-1.4.1 ../httpd-2.4.1/srclib/apr-util
mv apr-iconv-1.2.1 ../httpd-2.4.1/srclib/apr-iconv
cd ../httpd-2.4.1
CC="pgcc" CFLAGS="-O2" \
./configure --prefix=/usr/local/apache2.4 \
--with-mysql=/usr/local/mysql \
--with-included-apr=./srclib/apr/ \
--with-included-apr=./srclib/apr-util/ \
--with-included-apr-iconv=./usrlib/apr-iconv/ \
--enable-headers \
--enable-mime-magic \
--enable-proxy \
--enable-module=so \
--enable-so \
--enable-rewrite \
--enable-static-rotatelogs \
--ebable-cache \
--enable-mem-cache \
--enable-disk-cache \
--enable-file-cache \
--eanble-static-htpasswd \
--enable-ssl \
--enable-suexec \
--disable-userdir \
--with-mpm=prefork \
--enbale-ssl \
--with-ssl \
--disable-userdir \
--disable-cgid \
--with-pcre \
--enable-proxy-fcgi \
--disable-cgi \

make && make install


new module
mod_proxy_fcgi
    FastCGI Protocol backend for mod_proxy
mod_proxy_scgi
    SCGI Protocol backend for mod_proxy
mod_proxy_express
    Provides dynamically configured mass reverse proxies for mod_proxy
mod_remoteip
    Replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxies or a load balancer via the request headers.
mod_heartmonitor, mod_lbmethod_heartbeat
    Allow mod_proxy_balancer to base loadbalancing decisions on the number of active connections on the backend servers.
mod_proxy_html
    Formerly a third-party module, this supports fixing of HTML links in a reverse proxy situation, where the backend generates URLs that are not valid for the proxy's clients.
mod_sed
    An advanced replacement of mod_substitute, allows to edit the response body with the full power of sed.
mod_auth_form
    Allows to do form-based authentication.
mod_session
    Allows to keep session state for clients, using cookie or database storage.
mod_allowmethods
    New module to restrict certain HTTP methods without interfering with authentication or authorization.
mod_lua
    Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental)
mod_log_debug
    Allows to add customizable debug logging at different phases of the request processing.
mod_buffer
    Provides for buffering the input and output filter stacks
mod_data
    Convert response body into an RFC2397 data URL
mod_ratelimit
    Provides Bandwidth Rate Limiting for Clients
mod_request
    Provides Filters to handle and make available HTTP request bodies
mod_reflector
    Provides Reflection of a request body as a response via the output filter stack.
mod_slotmem_shm
    Provides a Slot-based shared memory provider (ala the scoreboard).
mod_xml2enc
    Formerly a third-party module, this supports internationalisation in libxml2-based (markup-aware) filter modules.