当前位置: 技术问答>java相关
Tomcat+Apache连接的问题
来源: 互联网 发布时间:2015-06-26
本文导语: 很多方法我都试了,tomcat,apache也都单独工作良好 1.test为tomcat下root/test通过http://localhost/test无法访问,已设置server.xml 2.通过http://localhost/examples/可访问tomcat下webapps的例子 3.通过把tomcat中examples拷到htdocs,改名exam,http://...
很多方法我都试了,tomcat,apache也都单独工作良好
1.test为tomcat下root/test通过http://localhost/test无法访问,已设置server.xml
2.通过http://localhost/examples/可访问tomcat下webapps的例子
3.通过把tomcat中examples拷到htdocs,改名exam,http://localhost/exam/servlets访问servlets例子出错Not Found
4.是否在apache中不能访问tomcat中设的目录,那为什么examples可以访问,而root/test不能访问,root也不能访问?
5,是否需要在apache中设置虚拟目录才能访问新建的目录,那么新目录如何支持?
谢谢
1.test为tomcat下root/test通过http://localhost/test无法访问,已设置server.xml
2.通过http://localhost/examples/可访问tomcat下webapps的例子
3.通过把tomcat中examples拷到htdocs,改名exam,http://localhost/exam/servlets访问servlets例子出错Not Found
4.是否在apache中不能访问tomcat中设的目录,那为什么examples可以访问,而root/test不能访问,root也不能访问?
5,是否需要在apache中设置虚拟目录才能访问新建的目录,那么新目录如何支持?
谢谢
|
没人理呀,太懒了
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。