Tomcat3.1Beta > httpd.conf
Previous Page Contents Next Page
OOP-Reserch HOME

Mail to Me

httpd.conf for JServ and Tomcat3.1Beta

Any quetions and comments are welcome to me.
Please make the subject of your mail to begin with 'OOP[tomcat]' (quotes are not required.). I'll reply to you soon.
The shell script for compiling the JServ module also modifies this file so as to the Apache server to load the JServ module. But we have to append the following line at the end of this file. 'Include' directive must point the configuration file for the JServ module. In case that we'd like to handle the request to Virtual Host, this file may include the lines like the below:
<VirtualHost 205.205.150.103>
    DocumentRoot /export/home/jun/public_html
    ServerName www.juntest.com
    ErrorLog logs/juntest.com-error_log
    CustomLog logs/juntest.com-access_log common
 	<IfModule mod_jserv.c>
	ApJServMount /examples ajpv12://jun_tomcat:8007/examples
 		<Location /examples/WEB-INF/ >
      			AllowOverride None
      			deny from all
 		</Location>  
 	</IfModule>
</VirtualHost>

Note that the line of: This means that the request such as 'http://www.juntest.com/example/myservlet' is handled by the JServ module and redirected to the Tomcat server. Of cource, Tomcat must listen to the port 8007 of the host 'jun_tomcat'. The Tomcat server will start 'myservlet' in the context of '/example'.

Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries.


Previous Page Contents Next Page
OOP-Reserch HOME

Mail to Me


ALL CONTENTS COPYRIGHT 2000, Jun Inamori. All rights reserved.
Any questions and comments are welcome to Jun Inamori .