Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

503 Headers #3

Open
wants to merge 1 commit into from

3 participants

@mapkyca

Added a .htaccess file to generate 503 headers for all files and subdirectories on a blacked out site.

Prompted by the suggestions here: https://plus.google.com/u/0/115984868678744352358/posts/Gas8vjZ5fmB

@zachstronaut

Thanks. I was going to do a 302, but this makes more sense I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 16, 2012
  1. @mapkyca
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 0 deletions.
  1. +8 −0 .htaccess
View
8 .htaccess
@@ -0,0 +1,8 @@
+ErrorDocument 503 /index.html
+
+RewriteEngine On
+RewriteBase /
+
+RewriteCond %{REQUEST_URI} !index\.html$
+RewriteRule .* - [R=503,L]
+
Something went wrong with that request. Please try again.