DirectoryIndex设置为index.jsp无法按预期工作

时间:2009-01-26 20:25:57

标签: tomcat apache

我已经在/ geo上安装了一个Tomcat应用程序,并且该应用程序有一个可以直接访问的“index.jsp”并且可以工作,但是当我尝试使用apache将其用作目录索引条目时它永远不会出现。比这更奇怪,如果我从httpd配置中的DIrectoryIndex行中删除index.html,则访问'/'会将一些如何重定向到主tomcat管理页面。

有什么想法吗?

JkMount /geo/* worker1
DirectoryIndex /geo/index.jsp index.html

1 个答案:

答案 0 :(得分:2)

我认为您希望DirectoryIndex没有/geo/

DirectoryIndex index.jsp index.html
相关问题