如何让 sun 网络服务器从/重定向 [英] How do I get sun webserver to redirect from /

查看:41
本文介绍了如何让 sun 网络服务器从/重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 Sun 网络服务器 iws6 (iplanet 6) 代理我的 bea 集群.我的集群在/portal/yadda 下.我想要任何人去

I have Sun webserver iws6 (iplanet 6) proxying my bea cluster. My cluster is under /portal/yadda. I want anyone who goes to

http://the.domain.com/

被快速重定向到

http://the.domain.com/portal/

我有和 index.html 做一个帖子和重定向,但用户有时会看到它.有人有更好的方法吗?

I have and index.html that does a post and redirect, but the user sometimes sees it. Does anyone have a better way?

亚伦

我已经尝试了下面的 3 个回复.他们都没有为我工作.回到绘图板.一个

I have tried the 3 replies below. None of them worked for me. Back to the drawing board. A

推荐答案

您也可以在 .htaccess 文件中添加以下行

You could also just add the below line in the .htaccess file

永久重定向/oldpage.html http://www.example.com/newpage.html

Redirect permanent /oldpage.html http://www.example.com/newpage.html

这篇关于如何让 sun 网络服务器从/重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆