I'm running PHP on my IIS 7 Server and I would like to get something similar to the ASP.NET app_offline.htm functionality. Just putting app_offline into the directory did not work. Maybe there is a good rewrite rule that would just forward all requests to app_offline? My first try resulted into a redirect loop, so not sure what I did wrong.
<rule name="Offline" enabled="false" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="app_offline.html" appendQueryString="false" redirectType="Temporary" />
</rule>
Herhangi bir fikir?