Apache|web|web service Then, embed the following in the Connectors section.
Pooltcpconnector "> Value= "ORG.APACHE.TOMCAT.SERVICE.CONNECTOR.AJP 13ConnectionHandler "/> |
Next, embed the following content in the Specialwebapps section.
Docbase= "/home/htdocs" debug= "0" > |
Modify the Workers.properties file.
#vi workers.properties ... workers.tomcat_home=/home/jakarta-tomcat-4.1.12 ... workers.java_home=/usr/java1.3 ... ps=/ ... |
Then, modify Tomcat startup and shutdown command files.
Then embed the following in front of the "basedir= ' dirname$0" statement.
Path=/usr/java1.3/bin: $PATH:. java_home=/usr/java1.3 tomcat_home=/home/jakarta-tomcat-4.1.12 Export PATH Java_hometomcat_home #vi shutdown.sh |
Finally, embed the following text before the "basedir= ' dirname$0" statement.
Path=/usr/java1.3/bin: $PATH:. java_home=/usr/java1.3 tomcat_home=/home/jakarta-tomcat-4.1.12 Export PATH Java_hometomcat_home |
At this point, the Apache and Tomcat Server software was installed successfully, above the basic configuration for building a JSP web site under the UNIX (Solaris) platform. The combination of Apache and Tomcat support JSP Dynamic Web page began with a named "Mod_jserv" plug-in to achieve, the use of this apache/jserv way configuration parameters are very complex, inefficient operation, and SSL (a cryptographic transmission mode) support is not ideal, So the Jakarta team has recently developed the "MOD_JK" plug-in, which makes up for the shortcomings of Mod_jserv and supports a variety of Web services outside of Apache. For the realization principle of this apache/jk way, please refer to the relevant information.
Security management and maintenance of application-level access resources in UNIX or liunx environments;
An application-wide encrypted access to resources based on a custom encryption scheme;
Timely conversion of accessed resources, including dynamic output from servlet and JSP.
2. Apache Security Settings
The Apache server sets the security information--access.conf the instructions in the file control the user's access to the site and how to access the information. Includes file tree security, Script Directory security, Options directives, allowoverride directives, using order directives, using limited containers, adding user authentication features, and more.
3 Apache Module (PHP website)
PHP inherits the Apache security settings when it is run as an Apache module. Any file requests are checked by Apache and are sent to PHP only if the request is checked.