在apache里的rewriterule的规则

由 itol 在 09-24-2002 10:59 发表:

在apache里的rewriterule的规则

比如我的网址是 www.abc.com 我想指到 www.cde.com/bb/index.html 里,但我又不想我打开 www.abc.com 的时候显示 www.cde.com/bb/index.html

在apache里的rewriterule的规则如何做


由 bulin 在 09-24-2002 11:19 发表:

完全不用在apache中设置

可以在 www.abc.com 默认的页面中使用框架.如下:

 1<html>
 2<head>
 3<title>test</title>
 4<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
 5</head>
 6<frameset border="0" cols="*" frameborder="NO" framespacing="0" rows="0,*">
 7<frame marginheight="0" marginwidth="0" name="topFrame" noresize="" scrolling="NO" src="blank.htm"/>
 8<frame frameborder="NO" marginheight="0" marginwidth="0" name="mainFrame" src="www.cde.com/bb/index.html"/>
 9</frameset>
10<noframes>
11<body bgcolor="#FFFFFF" leftmargin="0" marginheight="0" marginwidth="0" text="#000000" topmargin="0">
12</body>   
13  
14&amp;lt</noframes></html>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus