开发者

Can the tilde (~) Web application root operator be changed without access to iis?

开发者 https://www.devze.com 2023-01-18 16:59 出处:网络
I\'m uploading a website to a subfolder on a remote server. The root folder is defined as an application, and has its own web.开发者_运维百科config file.

I'm uploading a website to a subfolder on a remote server. The root folder is defined as an application, and has its own web.开发者_运维百科config file.

The server uses iis7 but I don't have access to it, is it possible to define the root web application operator (~) in the subfolder webconfig file, or any other way without access to iis?


The only way I know how to do this IS with access to IIS (or the hosting provider's control panel) by setting up the subfolder as a virtual directory or application. Unfortunately, I believe that by definition, the tilde is a shortcut for the application root (see HttpRuntime.AppDomainAppVirtualPath).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号