在Server 2003上本地托管网站 [英] Hosting Website locally on Server 2003

查看:62
本文介绍了在Server 2003上本地托管网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们

我已经为IE9和更高版本创建了一个网站.托管的网站在Windows Server 2003上本地托管.在Server 2003上运行的浏览器是IE7,并且正在运行IIS6.

我遇到的问题是,当我在客户端计算机上打开网站时,该网站使用的是来自服务器(IE7)的浏览器,而不是客户端计算机上的浏览器(IE9,IE10).

如何解决该问题,以便可以在客户端计算机的浏览器而不是服务器上的浏览器中打开网站?

我已阅读以下文章并按照步骤进行操作,但仍然遇到相同的问题.

http://www.windowsnetworking.com/articles_tutorials/web-sites-windows-2003.html [^ ]

http://www.simongibson.com/intranet/iis6/ [

Hi Guys

I have created a website for IE9 and upwards. The website that is hosted, is hosted locally on Windows Server 2003. The browser that is running on Server 2003 is, IE7 and it is running IIS6.

My problem that I have is, when I open the website on the client computer the website is using the browser from the server (IE7) instead of the browser (IE9, IE10) on the clients computer.

How can the issue be solved so that the website can open in the browser of the clients computer instead of the browser on the server?

I have read the following articles and followed the steps, but I still get the same problem.

http://www.windowsnetworking.com/articles_tutorials/web-sites-windows-2003.html[^]

http://www.simongibson.com/intranet/iis6/[^]

Thanks

推荐答案



你在开玩笑吗 ?如果您已将应用程序托管在 IIS 上,并且使用 URL 在客户端计算机上打开 ASP.NET 应用程序,则浏览器为客户端的浏览器.

如果您有疑问,可以添加
[
Hi,

Are you kidding ? if you have hosted your application on IIS and you are using URL to open your ASP.NET application on client computer then the browser is client''s browser.

If you have doubt then you can add this[^] javascript in your page and open on client end. it will display your browser information.

I hope you findout exact cause of your problem.

Thanks
-Amit Gajjar


您如何确定.
检查客户端的浏览器,无论是在IE7中,还是您编写的代码未针对IE9进行优化.

你说的是荒谬的.仅当您从客户端计算机作为虚拟桌面访问服务器并打开服务器浏览器时才可能.

欢呼
How are you so sure about it.
Check client''s browser, either it is in IE7 or the code you have written is not optimized for IE9.

What you are saying is absurd. It can only be possible, if you are accessing server from client machine as virtual desktop and open server browser.

cheers


这篇关于在Server 2003上本地托管网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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