-
-
Save kublaj/e92c6a7f63530bf3e623e3e217fb792b to your computer and use it in GitHub Desktop.
HTTP Status Cats Apache (htaccess) config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HTTP Status Cats | |
# Apache (htaccess) config originally created by @dave1010, | |
# rebuilt by Sarah Pierce (see modifications section) | |
# Licensed CC BY 2.0 | |
# Images CC BY 2.0, from GirlieMac's photostream: | |
# http://www.flickr.com/photos/girliemac/sets/72157628409467125/with/6508023065/ | |
# Usage: copy save this file as .htaccess or add it to your httpd.conf | |
# Modifications from original file: | |
# Change to use new HTTP Status Cats API (https://http.cat/) | |
# Uses an IFrame to center in browser | |
# Set background to black to match pics (can be changed if desired) | |
# Added ALL error codes (all may not be used by your server, and some may cause problems *see issue section) | |
# Known issues: | |
# Apache 2.2 does not have 4xx status codes above 426 (except 449), and trying to use these will cause "Unsupported HTTP response code xxx" | |
# due to these limitations, I have commented out a few | |
# This file was auto-generated by using my "htaccess_creator" script - https://github.com/munchicken/htaccess_creator | |
ErrorDocument 100 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/100"></iframe> | |
ErrorDocument 101 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/101"></iframe> | |
ErrorDocument 200 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/200"></iframe> | |
ErrorDocument 201 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/201"></iframe> | |
ErrorDocument 202 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/202"></iframe> | |
ErrorDocument 204 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/204"></iframe> | |
ErrorDocument 206 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/206"></iframe> | |
ErrorDocument 207 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/207"></iframe> | |
ErrorDocument 300 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/300"></iframe> | |
ErrorDocument 301 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/301"></iframe> | |
ErrorDocument 302 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/302"></iframe> | |
ErrorDocument 303 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/303"></iframe> | |
ErrorDocument 304 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/304"></iframe> | |
ErrorDocument 305 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/305"></iframe> | |
ErrorDocument 307 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/307"></iframe> | |
ErrorDocument 400 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/400"></iframe> | |
ErrorDocument 401 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/401"></iframe> | |
ErrorDocument 402 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/402"></iframe> | |
ErrorDocument 403 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/403"></iframe> | |
ErrorDocument 404 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/404"></iframe> | |
ErrorDocument 405 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/405"></iframe> | |
ErrorDocument 406 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/406"></iframe> | |
ErrorDocument 408 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/408"></iframe> | |
ErrorDocument 409 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/409"></iframe> | |
ErrorDocument 410 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/410"></iframe> | |
ErrorDocument 411 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/411"></iframe> | |
ErrorDocument 412 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/412"></iframe> | |
ErrorDocument 413 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/413"></iframe> | |
ErrorDocument 414 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/414"></iframe> | |
ErrorDocument 415 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/415"></iframe> | |
ErrorDocument 416 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/416"></iframe> | |
ErrorDocument 417 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/417"></iframe> | |
ErrorDocument 418 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/418"></iframe> | |
ErrorDocument 420 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/420"></iframe> | |
ErrorDocument 421 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/421"></iframe> | |
ErrorDocument 422 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/422"></iframe> | |
ErrorDocument 423 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/423"></iframe> | |
ErrorDocument 424 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/424"></iframe> | |
ErrorDocument 425 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/425"></iframe> | |
ErrorDocument 426 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/426"></iframe> | |
#ErrorDocument 429 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/429"></iframe> | |
#ErrorDocument 431 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/431"></iframe> | |
#ErrorDocument 444 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/444"></iframe> | |
#ErrorDocument 450 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/450"></iframe> | |
#ErrorDocument 451 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/451"></iframe> | |
ErrorDocument 500 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/500"></iframe> | |
ErrorDocument 502 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/502"></iframe> | |
ErrorDocument 503 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/503"></iframe> | |
ErrorDocument 504 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/504"></iframe> | |
ErrorDocument 506 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/506"></iframe> | |
ErrorDocument 507 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/507"></iframe> | |
ErrorDocument 508 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/508"></iframe> | |
ErrorDocument 509 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/509"></iframe> | |
#ErrorDocument 511 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/511"></iframe> | |
#ErrorDocument 599 '<style> body{background-color: #000000} iframe{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <iframe src="https://http.cat/599"></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment