网址屏蔽 [英] URL masking

查看:94
本文介绍了网址屏蔽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确定之前已经问过这个问题,但我刚刚注册了这个

新闻组并进行了搜索但却找不到任何东西。我正在尝试做什么

是将一个页面从端口80发送到端口6999但我不想要:6999位

显示在URL地址字段。是否可以在标题(Location:XXX)电话中屏蔽或隐藏




换句话说,如果我输入< a rel =nofollowhref =http://www.mysite.comtarget =_ blank> http://www.mysite.com 它使用
$ b找到该网站$ b默认端口80但是我的信息实际上是在端口6999上所以我是

重定向到 http://www.mysite.com:6999 但我不希望:6999显示为




我希望这是有道理的。在此先感谢。


克里斯

解决方案

Christopher Pettet写道:

我确定之前已经问过这个问题,但我刚刚注册了这个
新闻组并进行了搜索但却找不到任何东西。我正在尝试做的是
是将一个页面从端口80发送到端口6999,但我不希望:6999位
显示在URL地址字段中。是否可以在标题(Location:XXX)调用中屏蔽或隐藏
这个?换句话说,如果我输入 http://www.mysite.com 它使用
默认端口80找到该网站,但我所拥有的信息实际上是在6999端口,所以我将重定向到 http://www.mysite。 com:6999 但我不希望:6999显示。




我所知道的唯一技巧可行,是你制作了一个框架页面

index.html位于 http ://www.mysite.com ,它包含一个框架,而

文件位于 http://www.mysite.com:6999 ,这样你就不会显示你的真实位置。

// Aho


Christopher Pettet < CD ****** @ psiss.com>写道:

是将页面从端口80发送到端口6999,但我不希望:6999位
显示在URL地址字段中。是否可以在标题(Location:XXX)调用中屏蔽或隐藏




使用标题位置更改,它'我要重定向到新网址和

你应该在浏览器中看到它。如果

你的服务器允许它可以用mod_rewrite完成 - 这是通过.htaccess完成的。

http://en.wikipedia.org/wiki/Mod_rewrite


-

我的项目很少有近期项目 -

在线正则表达式查找/重新定位实用程序: http://rereplace.com

基于命令的在线图像编辑器: http://theprawn.com/imagiine


JO Aho写道:

Christopher Pettet写道:

我确定之前已经问过这个问题,但我刚刚注册了这个
新闻组并完成了搜索但找不到任何东西。我想要做的是将一个页面从端口80发送到端口6999,但我不希望:6999位显示在URL地址字段中。是否可以在标题(Location:XXX)调用中屏蔽或隐藏它?

换句话说,如果我输入 http://www.mysite.com 它使用默认端口80找到网站
但我的信息实际上是在
端口6999上,我正在重定向到 http://www.mysite。 com:6999 但是我不希望显示:6999。



我所知道的唯一可行的技巧就是你制作一个框架
页面index.html位于 http://www.mysite.com 它包括
一帧,文件位于 http:// www.mysite.com:6999 ,这样你就不会显示你的
真实位置。




我是唯一的一点s soudnsl iek是网络钓鱼骗局的基础

网站?


I''m sure this has been asked before but I''ve just signed up to this
newsgroup and done a search but can''t find anything. What I''m trying to do
is to send a page from port 80 to port 6999 but I don''t want the :6999 bit
to show in the URL address field. Is it possible to either mask or hide
this within the header("Location:XXX") call?

In other words, if I enter http://www.mysite.com it finds the site using the
default port 80 but the information I have is actually on port 6999 so I''m
redirecting to http://www.mysite.com:6999 but I don''t want the :6999 to be
displayed.

I hope this makes sense. Thanks in advance.

Chris

解决方案

Christopher Pettet wrote:

I''m sure this has been asked before but I''ve just signed up to this
newsgroup and done a search but can''t find anything. What I''m trying to do
is to send a page from port 80 to port 6999 but I don''t want the :6999 bit
to show in the URL address field. Is it possible to either mask or hide
this within the header("Location:XXX") call?

In other words, if I enter http://www.mysite.com it finds the site using the
default port 80 but the information I have is actually on port 6999 so I''m
redirecting to http://www.mysite.com:6999 but I don''t want the :6999 to be
displayed.



The only trick I know of that could work, is that you make a framed page the
index.html is at the http://www.mysite.com and it includes one frame and the
file is at http://www.mysite.com:6999, this way you won''t show your real location.
//Aho


"Christopher Pettet" <cd******@psiss.com> wrote:

is to send a page from port 80 to port 6999 but I don''t want the :6999 bit
to show in the URL address field. Is it possible to either mask or hide
this within the header("Location:XXX") call?



Using the header location change, it''s going to redirect to the new url and
you should see it in the browser. This could be done with mod_rewrite if
your server allows it -- this is done via .htaccess.

http://en.wikipedia.org/wiki/Mod_rewrite

--
Few of my projects recent projects--
Online Regex find/repalce utility: http://rereplace.com
Command-based online image editor: http://theprawn.com/imagiine


J.O. Aho wrote:

Christopher Pettet wrote:

I''m sure this has been asked before but I''ve just signed up to this
newsgroup and done a search but can''t find anything. What I''m
trying to do is to send a page from port 80 to port 6999 but I don''t
want the :6999 bit to show in the URL address field. Is it possible
to either mask or hide this within the header("Location:XXX") call?

In other words, if I enter http://www.mysite.com it finds the site
using the default port 80 but the information I have is actually on
port 6999 so I''m redirecting to http://www.mysite.com:6999 but I
don''t want the :6999 to be displayed.



The only trick I know of that could work, is that you make a framed
page the index.html is at the http://www.mysite.com and it includes
one frame and the file is at http://www.mysite.com:6999, this way you
won''t show your
real location.



Am I the only wh othinks this soudnsl iek the basis for a phishing scam
site?


这篇关于网址屏蔽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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