apache和tomcat整合后servlet不能用
hhl00 2005-03-28 01:52:18 apache2.0.52和tomcat4.1.28整合后,jsp扩展名可以正常使用,但是servlet总是提示无法找到该文件。如果我直接通过访问tomcat则没有这个问题。
httpd.conf配置如下:
<VirtualHost *>
ServerName easepal.easepal.com.cn
ServerAlias easepal.linux148.onway.net
DocumentRoot /home/vhosts/easepal/htdocs
<Location ~ "/*.jsp|/*/servlet/*">^M
JkUriSet worker ajp13:localhost:8009^M
</Location>
ScriptAlias /cgi-bin/ /home/vhosts/easepal/cgi-bin/
</VirtualHost>
请各位大虾看看是什么原因