使用iis7显示整页地址 [英] Display full page address with iis7

查看:68
本文介绍了使用iis7显示整页地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我遇到的一个相当奇怪的问题。

我们在IIS7上有一些从一台服务器运行的Web应用程序。



奇怪的是,我们所有发布的网站都会在浏览器的地址栏中显示整页地址,除了一个。



我的意思是整页地址是http:// 主机 / 网站 /Default.aspx。

提供问题的网站显示http:// host / 网站 /



问题网站的完成情况与服务器上的所有其他网站完全相同。



任何想法为什么会这样?



只是为了说清楚它不是无法访问的页面。它的页面名称没有显示在地址栏中。



如果问题不是100%清除,我会道歉

This is a rather strange problem I ran into.
We have a few web applications running from one server on IIS7.

The strange thing is, all of our sites when published display the full page address in the address bar of the browser except for one.

What I mean by full page address is http://host/website/Default.aspx.
The site that gives the problem displays http://host/website/

The problem site is done exactly the same as all the other sites on the server.

Any ideas why this could be?

Just to make it clear its not that the pages cannot be accessed. Its that the page name is not being displayed in the address bar.

I do apologize if the question is not 100% clear

推荐答案

这里有一些链接可以帮助你解决无扩展网址。



如何禁用IIS 6.0上的ASP.NET v4.0无扩展URL功能 [ ^ ]



可以使用某些IIS 7.0或IIS 7.5处理程序来处理其URL执行的请求的更新不以句号结束 [ ^ ]


如何在不支持.aspx扩展名的情况下设置纯无扩展名的网址 [ ^ ]



在这里,您可以阅读IIS中的默认文档。



默认文档< defaultdocument> [ ^ ]
Here are some link what can help you about the extensionless urls.

How to Disable the ASP.NET v4.0 Extensionless URL feature on IIS 6.0[^]

A update is available that enables certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period[^]

How to set pure extension-less URLs without support for .aspx extension[^]

And here you can read about default document in IIS.

Default Document <defaultdocument>[^]


这篇关于使用iis7显示整页地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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