LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 654|回复: 0

apache和tomcat整合后servlet不能用

[复制链接]
发表于 2005-3-28 13:55:38 | 显示全部楼层 |阅读模式
apache2.0.52和tomcat4.1.28整合后,jsp扩展名可以正常使用,但是servlet总是提示无法找到该文件。如果我直接通过访问tomcat则没有这个问题。
httpd.conf配置如下:
<VirtualHost *>
ServerName test.com.cn
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>
请各位大虾看看是什么原因
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表