Public
Authored by Alan Nelson

App Offline Static HTML

IIS

In IIS, simply placing this file named app_offline.htm in the web root will redirect all traffic to this page.

Apache

For Apache, in addition to placing this file named app_offline.htm in your web root, the following content should be temporarily added to the top of your .htaccess file.

Header set Retry-After "60"
ErrorDocument 503 /app_offline.htm

RewriteEngine On
RewriteCond %{ENV:REDIRECT_STATUS} !=503
RewriteRule ^ - [R=503,L]
Edited
app_offline.htm 19.8 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment