delphimvcframework/samples/ISAPI/bin/web.config
2023-08-09 15:58:19 +02:00

19 lines
769 B
XML

<?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>