一、WEB应用中设置虚拟目录
二、在虚拟目录下放一个文件web.config,内容如下:
<?xml version="1.0"?> ?<configuration> ?????<system.webServer> ???????<handlers> ??????????<clear /> ???????????<add ????????????????name="StaticFile" ???????????????path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" ????????????????resourceType="Either" ????????????????requireAccess="Read" /> ???????</handlers> ???</system.webServer></configuration> ?
Azure Web应用中设置静态虚拟目录的方法(比如部署Django需要用到)
原文地址:https://www.cnblogs.com/songxingzhu/p/8418860.html