码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2016-08-29 09:07:36      阅读:203      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!