关于weblogic apache 的页面跳转问题(已解决)
2010-11-04 18:41
519 查看
先说一下,架构:用户请求,先到apache 再转到 weblogic server
case:
如果有客户输入:http://abc.com/index.jsp 那么okay, 现在就是有要求:输入:http://abc.com 也要转到http://abc.com/index.jsp
修改方法:
看一下apache 的conf 文件:httpd.conf
看到有关转向的代码:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
看看这个文件起始路径在哪里: DocumentRoot "/apache/apache2/htdocs"
可以修改这个路径下的index.html 文件
<html>
<head>
<meta http-equiv="refresh" content="0;url=index.jsp">
</head>
</html>
修改成上面就可以啦。
case:
如果有客户输入:http://abc.com/index.jsp 那么okay, 现在就是有要求:输入:http://abc.com 也要转到http://abc.com/index.jsp
修改方法:
看一下apache 的conf 文件:httpd.conf
看到有关转向的代码:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
看看这个文件起始路径在哪里: DocumentRoot "/apache/apache2/htdocs"
可以修改这个路径下的index.html 文件
<html>
<head>
<meta http-equiv="refresh" content="0;url=index.jsp">
</head>
</html>
修改成上面就可以啦。
相关文章推荐
- 关于jquery mobile使用<a href="#"></a>进行页面跳转返回上一页出现空白页问题的解决
- 关于required=false出现页面跳转不过去的问题的解决
- 关于经过servlet跳转后jsp页面的样式消失问题的解决办法
- 关于在Apache和Weblogic中分别部署静态页面的对比报告
- 解决 " 登录页面(没有导航栏)跳转到下一页面(有导航栏) " 问题
- 全屏activity跳转非全屏activity页面抖动问题的解决
- iTextSharp应用中关于“Cannot access a closed Stream”问题的解决办法(附带提供如何在页面中显示PDF的流)
- 关于springmvc 页面跳转问题
- 关于servlet中如何弹出消息框并跳转到某一页面---和其中的一些问题
- jsp:跳转后页面css和js失效问题解决
- [导入]解决JS页面跳转ie,firefox,opera不兼容问题
- 关于用struts所配置的Action默认页面的跳转问题
- 关于spring3.0和hibernate3.3在weblogic部署问题的解决
- 关于@requestMapping跳转页面静态资源无法加载问题
- iReport-关于部署在weblogic中的项目用IE访问页面加载慢但是用火狐或者谷歌浏览器访问很快的问题
- Struts2中ActionError与ActionMessage的互转,解决不同action不同页面的跳转问题
- SpringMVC中关于向action中跳转的问题和解决(01)
- 关于weblogic服务器集群后,部分数出现乱码问题,解决办法 如下
- 网站开发进阶(三十七)JSP页面跳转问题解决
- JavaWeb中的一些简单操作(四) 页面间的跳转的本质以及url乱码问题解决