在我的服务器上自动推送web直接到包含项目的文件夹? [英] Push web on my server automatic to direct to folder contain project?

查看:62
本文介绍了在我的服务器上自动推送web直接到包含项目的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有一个网络,我成功地推动了我的服务器。我的域名是19006234.com。我如何在网络浏览器上输入19006234.com,自动连接网页浏览器19006234.com/myproject/1900.aspx

Hi all!
I have a web and i push on my server successful. My domain name is 19006234.com. How I type 19006234.com on web browser, web browser automatic to direct 19006234.com/myproject/1900.aspx

推荐答案

您可以使用索引页面并使用索引页面使用javascript重定向到您想要的页面。



如何在IIS中设置默认页面:

You can use a index page and with in that index page Redirect to your desire page using javascript.

How to Set default Page in IIS :
Ya, you should set your default page. hope this help.
In Windows 20008, IIS 7.0

Administrative Tools-> IIS Manager -> You Server Name -> Your site name -> Under HTTP features -> Default document -> Add MyDefaultPage.aspx







但是这不是一个好主意所以总是使用一些页面,它位于项目的根目录中,并将该页面设置为IIS中的默认页面。



或者你可以使用ASP。净路由:使用ASP.NET 4.0进行URL路由 [ ^ ]


这篇关于在我的服务器上自动推送web直接到包含项目的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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