tj3.1
|
ApacheJServ-1.1.1.tar.gz,
Cocoon-1.7.4.tar.gz,
README.html,
Xerces-J-bin.1.1.1.tar.gz,
apache-tomcat-jserv.txt,
apache_1.3.12.tar.gz,
apache_start.c.txt,
apache_stop.c.txt,
cjdk1.1.txt,
cjdk1.2.txt,
cjdk1.3.txt,
cs.txt,
cshrc.txt,
htaccess.txt,
httpd.conf.txt,
jakarta-ant.tar.gz,
jakarta-taglibs.tar.gz,
jakarta-tomcat.tar.gz,
jakarta-tools.tar.gz,
jakarta-watchdog.zip,
jserv.properties.txt,
jserv_start.txt,
jserv_stop.txt,
killme.c.txt,
kjdk1.1.txt,
kjdk1.2.txt,
kjdk1.3.txt,
mm-1.1.2.tar.gz,
mod_ssl-2.6.4-1.3.12.tar.gz,
openssl-0.9.5a.tar.gz,
profile.txt,
server.xml.txt,
shutdown.sh.txt,
startup.sh.txt,
tomcat.conf.txt,
xalan-j_1_0_1.tar.gz
|
|
|
###############################################################################
# Apache JServ Configuration File #
###############################################################################
# Note: this file should be appended or included into your httpd.conf
# Tell Apache on win32 to load the Apache JServ communication module
# LoadModule jserv_module modules/ApacheModuleJServ.dll
# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
# LoadModule jserv_module libexec/mod_jserv.so
# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel debug
### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 7287
### Add handler for jsp. Note that the tomcat-apache.conf file
# which is produced by tomcat has a typo: AddType test/jsp .jsp
#
AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
#################### All jsp files will go to tomcat ####################
# JServ1.1.1 engine
ApJServLogFile /usr/local/apache_t3.1/logs/mod_jserv.log
ApJServMount /servlets ajpv12://localhost:7288/jserv111
# the gimics to make the Apache work on the links in the for tomcat
# examles. The problem is that tomcat mounts directory
# /usr/local/apache_t3.1/tomcat/webapps/ROOT as: document root "/"
# as can be seen in server.xml:
#
#
#
#
# while for Apache the document root directory is:
# /usr/local/apache_t3.1/htdocs
# as seen in httpd.conf:
# DocumentRoot "/usr/local/apache_t3.1/htdocs"
# The /usr/local/apache_t3.1/tomcat/webapps directory is;
# drwxr-xr-x 4 root other 512 Jun 10 03:45 ROOT
# drwxr-xr-x 4 root other 512 Jun 10 03:45 admin
# drwxr-xr-x 6 root other 512 Jun 10 03:45 examples
# drwxr-xr-x 7 root other 512 Jun 10 03:45 test
#
# and under /usr/local/apache_t3.1/tomcat/webapps/ROOT:
#
# drwxr-xr-x 3 root other 512 Jun 10 03:45 WEB-INF
# drwxr-xr-x 3 root other 512 Jun 10 03:45 docs
# -rw-r--r-- 1 root other 2520 Jun 10 03:45 index.html
# -rw-r--r-- 1 root other 1934 Jun 10 03:45 tomcat.gif
#
# at the same time, there are links in these documents linke:
# or
#
# Everything works under tomcat, but will not work Apache.
# So, I added a mount point docs and ROOT in server.xml
#
#
#
#
#
#
# But now, the relative links called from, say /ROOT/index.html :
#
# become:
#
# which is fine, but
#
# becomes:
#
# which is not fine, and /ROOT has to be chopped.
#
Alias /examples /local/apache_t3.1/tomcat/webapps/examples
Options Indexes FollowSymLinks
ApJServMount /examples ajpv12://localhost:7287/root
AllowOverride None
deny from all
# It is good to protect development stuff with passwords
AuthType Basic
AuthName "For internal users only"
AuthUserFile /usr/local/apache/auth/htpasswd
AuthGroupFile /usr/local/apache/auth/htgroup
AuthType Basic
require group demo
Alias /docs /local/apache_t3.1/tomcat/webapps/ROOT/docs
Options Indexes FollowSymLinks
ApJServMount /docs ajpv12://localhost:7287/root
AllowOverride None
deny from all
# It is good to protect development stuff with passwords
AuthType Basic
AuthName "For internal users only"
AuthUserFile /usr/local/apache/auth/htpasswd
AuthGroupFile /usr/local/apache/auth/htgroup
AuthType Basic
require group demo
Alias /test /local/apache_t3.1/tomcat/webapps/test
Options Indexes FollowSymLinks
ApJServMount /test ajpv12://localhost:7287/root
AllowOverride None
deny from all
# It is good to protect development stuff with passwords
AuthType Basic
AuthName "For internal users only"
AuthUserFile /usr/local/apache/auth/htpasswd
AuthGroupFile /usr/local/apache/auth/htgroup
AuthType Basic
require group demo
Alias /admin /local/apache_t3.1/tomcat/webapps/admin
Options Indexes FollowSymLinks
ApJServMount /admin ajpv12://localhost:7287/root
AllowOverride None
deny from all
# It is good to protect development stuff with passwords
AuthType Basic
AuthName "For internal users only"
AuthUserFile /usr/local/apache/auth/htpasswd
AuthGroupFile /usr/local/apache/auth/htgroup
AuthType Basic
require group demo
Alias /ROOT /local/apache_t3.1/tomcat/webapps/ROOT
Options Indexes FollowSymLinks
ApJServMount /ROOT ajpv12://localhost:7287/root
AllowOverride None
deny from all
# It is good to protect development stuff with passwords
AuthType Basic
AuthName "For internal users only"
AuthUserFile /usr/local/apache/auth/htpasswd
AuthGroupFile /usr/local/apache/auth/htgroup
AuthType Basic
require group demo
Alias /SciPortal /local/apache_t3.1/htdocs/SciPortal
Options Indexes FollowSymLinks
ApJServMount /SciPortal ajpv12://localhost:7287/root
AllowOverride None
deny from all
# It is good to protect development stuff with passwords
AuthType Basic
AuthName "For internal users only"
AuthUserFile /usr/local/apache/auth/htpasswd
AuthGroupFile /usr/local/apache/auth/htgroup
AuthType Basic
require group demo
|