Chapter 10: HTTP Connectors Enabling the APR Connector

Chapter 10: HTTP Connectors Enabling the APR Connector The APR Connector is configured under the following conditions: . The protocol attribute is set to org.apache.coyote.http11.Http11AprProtocol. . The APR library is located in the PATH environment variable (Windows) or the LD_LIBRARY_ PATH(*nix/Linux). If you do not have the APR library already installed for your platform (most Linux distributions come with the APR already installed), you may need to download a binary distribution first. At the current time, the source and binaries for the Windows APR connector implementation (with OpenSSL) can be downloaded from the following URL: http://tomcat.heanet.ie/native/ The location may change in the future. For Linux, the source is included with the Tomcat distribution; you can find it in the bin/tomcat-native.tar.gzfile. See Chapter 3 for information on installing APR on Linux. As an example, if you have a Win32 system (XP, Vista, and so on), download the binaries from the preceding URL. Place the two downloaded binary files tcnative-1.dlland openssl.exe into the $CATALINA_HOME/bin directory. For example, the following element configures an instance of an APR Connector, provided the PATHor LD_LIBRARY_PATH environment variable contains a path to the APR libraries. Configurable Connector Attributes The setting of configurable attributes on this Connector overlaps with the standard HTTP Connector. The following are attributes from the standard HTTP Connector that are also applicable to the native APR Connector. See the standard HTTP/1.1 Connector section, earlier in this chapter, for a description of these attributes. . allowTrace . emptySessionPath . enableLookups . maxPostSize . maxSavePostSize . protocol . proxyName . proxyPort

If you looking for unlimited one inclusive web hosting plan please check web hosting plan website.

Comments are closed.