[英]web site publish shows index of/
I've published a web site using VS 2010 by the publish web option to an ftp site. 我已经使用VS 2010通过publish Web选项将网站发布到ftp站点。 It shows that the publish was succeeded but when I go the site I see "Index of/" and not the site itself.
它表明发布已成功,但是当我转到该站点时,看到的是“ /的索引”,而不是站点本身。 The default page to run is default.aspx and its all with lower cases as I saw few suggestions about this issue.
运行的默认页面是default.aspx,所有页面都使用小写字母,因为我看到的关于此问题的建议很少。
What can be the problem? 可能是什么问题?
It sounds like you have directory browsing turned on in IIS please see these search results on google - depending on which version of IIS you have you will need to find find the "Disable Directory Browsing" option 听起来您在IIS中打开了目录浏览功能,请在google上查看这些搜索结果-根据您要查找的IIS版本,找到“禁用目录浏览”选项
https://www.google.co.uk/webhp?rlz=1C1DVCL_enGB455GB455&sourceid=chrome-instant&ie=UTF-8&ion=1#hl=en&rlz=1C1DVCL_enGB455GB455&sclient=psy-ab&q=turn+off+directory+browsing+IIS&oq=turn+off+directory+browsing+IIS&gs_l=hp.3..0j0i30l3.3079.14321.0.14701.40.17.9.10.10.1.231.2502.3j10j4.17.0...0.0...1c.BCb_w6c0oBI&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=99b0cee94ed2fe06&ion=1&biw=1527&bih=871 https://www.google.co.uk/webhp?rlz=1C1DVCL_enGB455GB455&sourceid=chrome-instant&ie=UTF-8&ion=1#hl=zh-CN&rlz=1C1DVCL_enGB455GB455&sclient=psy-ab&q=turn+off+directory+browsing+IIS&oq=turn+ off +目录+浏览+ IIS&gs_l = hp.3..0j0i30l3.3079.14321.0.14701.40.17.9.10.10.1.231.2502.3j10j4.17.0 ... 0.0 ... 1c.BCb_w6c0oBI&pbx = 1&bav = on.2,或.r_gc .r_pw.r_cp.r_qf。&fp = 99b0cee94ed2fe06&ion = 1&biw = 1527&bih = 871
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.