-
-
Save munchicken/c606774c0d0b519e4b5b7d2de16a8db2 to your computer and use it in GitHub Desktop.
HTTP Status Cats Apache (htaccess) config
This file contains 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} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/100"></img> | |
ErrorDocument 101 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/101"></img> | |
ErrorDocument 200 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/200"></img> | |
ErrorDocument 201 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/201"></img> | |
ErrorDocument 202 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/202"></img> | |
ErrorDocument 204 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/204"></img> | |
ErrorDocument 206 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/206"></img> | |
ErrorDocument 207 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/207"></img> | |
ErrorDocument 300 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/300"></img> | |
ErrorDocument 301 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/301"></img> | |
ErrorDocument 302 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/302"></img> | |
ErrorDocument 303 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/303"></img> | |
ErrorDocument 304 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/304"></img> | |
ErrorDocument 305 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/305"></img> | |
ErrorDocument 307 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/307"></img> | |
ErrorDocument 400 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/400"></img> | |
ErrorDocument 401 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/401"></img> | |
ErrorDocument 402 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/402"></img> | |
ErrorDocument 403 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/403"></img> | |
ErrorDocument 404 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/404"></img> | |
ErrorDocument 405 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/405"></img> | |
ErrorDocument 406 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/406"></img> | |
ErrorDocument 408 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/408"></img> | |
ErrorDocument 409 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/409"></img> | |
ErrorDocument 410 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/410"></img> | |
ErrorDocument 411 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/411"></img> | |
ErrorDocument 412 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/412"></img> | |
ErrorDocument 413 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/413"></img> | |
ErrorDocument 414 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/414"></img> | |
ErrorDocument 415 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/415"></img> | |
ErrorDocument 416 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/416"></img> | |
ErrorDocument 417 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/417"></img> | |
ErrorDocument 418 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/418"></img> | |
ErrorDocument 420 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/420"></img> | |
ErrorDocument 421 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/421"></img> | |
ErrorDocument 422 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/422"></img> | |
ErrorDocument 423 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/423"></img> | |
ErrorDocument 424 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/424"></img> | |
ErrorDocument 425 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/425"></img> | |
ErrorDocument 426 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/426"></img> | |
#ErrorDocument 429 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/429"></img> | |
#ErrorDocument 431 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/431"></img> | |
#ErrorDocument 444 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/444"></img> | |
#ErrorDocument 450 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/450"></img> | |
#ErrorDocument 451 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/451"></img> | |
ErrorDocument 500 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/500"></img> | |
ErrorDocument 502 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/502"></img> | |
ErrorDocument 503 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/503"></img> | |
ErrorDocument 504 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/504"></img> | |
ErrorDocument 506 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/506"></img> | |
ErrorDocument 507 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/507"></img> | |
ErrorDocument 508 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/508"></img> | |
ErrorDocument 509 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/509"></img> | |
#ErrorDocument 511 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/511"></img> | |
#ErrorDocument 599 '<style> body{background-color: #000000} img{display: block; margin-left: auto; margin-right: auto; width:750px; height:600px; border:none} </style> <img src="https://http.cat/599"></img> |
M.www. Facebook.Messenger.icon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added a new revision which changed iframes to img tags, due to httpcats setting X-Frame-Options to deny.