IIS服务器重定向位置 [英] IIS server redirect locations

查看:280
本文介绍了IIS服务器重定向位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IIS服务器托管的ASP网站。在服务器有一个虚拟文件夹产品,只要提供像xyz.com/products/abc_11.asp一个URL,就forwared到xyz.com/product.asp?id=11~~V页。

I got a asp site hosted in a iis server. In the server there is a virtual folder products and whenever a url like xyz.com/products/abc_11.asp is provided it is forwared to xyz.com/product.asp?id=11 page.

我想知道,从这里我们可以更改设置?

I would like to know from where we can change that settings?

这些设置或任务可以从那里做什么?

These settings or tasks can be done from where?

日Thnx

推荐答案

请问abc_11.asp在Web服务器上实际存在的文件夹产品或文件?有很多方法来实现具有sepcific URL转发到另一个URL的任务。

Does the folder "products" or file "abc_11.asp" physically exist on the webserver? There are many ways to accomplish the task of having a sepcific url forward to another url.


  1. 有URL rewritting ISAPI插件为IIS一样的ISAPI_Rewrite。下ISAPI_Rewrite将拥有的ISAPI_Rewrite安装文件夹中的网站的httpd.ini文件,要么或物理文件夹。

  1. There are URL rewritting ISAPI addons for IIS, like ISAPI_Rewrite. ISAPI_Rewrite will have a httpd.ini file either in the ISAPI_Rewrite installation folder or the physical folder for the website.

II6具有重定向文件夹或文件到另一个位置的请求的能力。这是通过查看属性在IIS管理的文件夹或文件进行配置。在目录/文件选项卡,你会看到3个单选按钮,其中一个是A重定向到URL。

II6 has the ability to redirect a request for a folder or a file to another location. This is configured by viewing the properties for the folder or file in the IIS Admin. On the Directory/File tab you will see 3 radio buttons, one of which is "A redirection to a URL".

该文件可以实际存在,并在其中为code将用户重定向。

The file can physically exists and in it is code to redirect the user.

这篇关于IIS服务器重定向位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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