delphimvcframework/samples/ISAPI/bin/web.config

19 lines
769 B
Plaintext
Raw Normal View History

2023-08-09 15:58:19 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<remove name="CGI-exe" />
<add name="miaisapi" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\DEV\dmvcframework\samples\ISAPI\bin\isapiapp.dll" resourceType="File" requireAccess="Execute" preCondition="bitness32,winx86_64,winx86_64,winx86_64" />
</handlers>
<directoryBrowse enabled="false" />
<rewrite>
<rules>
<rule name="xxxx">
<match url="MyApp/(.*)" />
<action type="Rewrite" url="MyApp/isapiapp.dll/{R:1}" logRewrittenUrl="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>