Hear us Roar
Article:
 |
|
Creating a Web Application with Ant and Tomcat 4
|
| Subject: |
|
tomcat, ant and apache |
| Date: |
|
2003-07-28 04:57:08 |
| From: |
|
franci
|
|
|
|
np with the tutorial, but
I need apache in front of my tomcat, so I have configured the mod_jk connector to do this work, and I have these lines in my httpd.conf to Mount all jspages and /servlet/* in my webapps to be *forwarded* to tomcat:
<IfModule mod_jk.c>
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkAutoAlias /usr/local/tomcat/webapps
JkMount /*.jsp worker1
JkMount /*/servlet/ worker1
</IfModule>
All works if I put my webapps in /usr/local/tomcat/webapps but not in my /home
Need I to add "JkAutoAlias /home" to my httpd.conf?
Thank you in advance
|
|
| |