网站默认文档 [英] Web Site Default Document

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

问题描述

我想知道如何将默认文档设置为不在项目根目录的文件吗?例如,在我们的项目中,我们有student/en/home/home.aspx,这是我们想要作为主页的文件.因此,当一个人访问我们的网站(即www.abc.com)时,它将显示页面为student/en/home/home.aspx,但不会在浏览器中显示出Student/en/home/home.aspx''的地址栏(仅显示http://www.abc.com).有什么想法吗?

谢谢,

Brad

I was wondering how it works to set a default document to a file not at root of project? For example, in our project we have student/en/home/home.aspx and this is the file we want as our main page. So when a person goes to our website (i.e. www.abc.com) that it displays the page at student/en/home/home.aspx but does not show the student/en/home/home.aspx in the browser''s address bar (only shows http://www.abc.com). Any ideas?

Thanks,

Brad

推荐答案

我认为您需要在根目录下创建一个默认文档,该文档将用户重定向到您希望他们看到的页面.
I think you''d need to create a default document at the root which redirects the user to the page you want them to see.


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

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