Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

503 Headers #3

Open
wants to merge 1 commit into from

3 participants

Marcus Povey Zachary Johnson Howard Yeend
Marcus Povey

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

Zachary Johnson

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. Marcus Povey
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 0 deletions.
  1. +8 −0 .htaccess
8 .htaccess
View
@@ -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.