IIS 6 forces AppRoot / starting point to uppercase when a virtual directory is imported from a file

I searched the Internet for this and couldn't find anything (well, one remotely relevant post), so I'm here.

We have several ASP.NET applications in IIS 6 using authentication using a dedicated path for each application. Since the path is case sensitive, it must exactly match the path URL. However, due to an incorrect shell in IIS 6 Metabase for AppRoot (or the starting point in IIS UI), the bowser does not send a Form cookie to the server if the URL was previously resolved on the server and sent to the client in the wrong case.

Example:
the URL-address of the application = " https://Test.net/Application1 "
the cookie path = / Annex 1
the Metabase AppRoot = / the LM / the W3SVC / 1393818691 / ROOT / APPLICATIONPATH1
Authorized the URL = " https://Test.net/ APPLICATIONPATH1 "

Now for the root cause ...
We create virtual directories on the test server manually in a specific case (corresponds to the Path for each application). Then we export the virtual directory using the user interface to an XML file, which is then imported to another server (let this happen), after which IIS resolves the uppercase AppRoot metabase element.

- ? IIS, ? ​​ . ?

+3
2

IIS SDC MSBuild?

CodePlex

.

Metabase.xml:

WINDOWS\system32\Inetsrv\Metabase.xml

xml.

+1

...

IIS . . , . , .

, , , !

0

Source: https://habr.com/ru/post/1740985/


All Articles