首页 > Web开发 > 详细

Umbraco 上传文件到另一个文件夹,而不是media files

时间:2016-08-29 09:04:31      阅读:297      评论:0      收藏:0      [点我收藏+]

If you want to upload there media files to another place in the same instance of IIS, for example a different folder, there are several things you can do.

1) map your other location to the /media folder on your site as a virtual folder in IIS. That will just work out of the box, and all of your existing media files will continue to work if you move them to the location you‘re mapping to.

2) change the path in the file /config/FileSystemProviders.config, look for the virtualRoot parameter. By default, it‘s set to "~/media/", but you can change it.

Umbraco 上传文件到另一个文件夹,而不是media files

原文:http://www.cnblogs.com/wphl-27/p/5816588.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!