Skip to content

Instantly share code, notes, and snippets.

@ericfrederich
Last active August 29, 2015 14:02
Show Gist options
  • Save ericfrederich/b77bd4852a3cf9b968f0 to your computer and use it in GitHub Desktop.
Save ericfrederich/b77bd4852a3cf9b968f0 to your computer and use it in GitHub Desktop.
#
# example output with redirect cache and 301 response
#
# first request to /old
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /old HTTP/1.1" 301 6
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /new HTTP/1.1" 301 6
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newer HTTP/1.1" 301 6
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
# 3 more requests to /old
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
# request to /new
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
# request to /newer
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
# request to /newest
127.0.0.1 - - [11/Jun/2014 13:45:13] "GET /newest HTTP/1.1" 200 6
#
# example output with redirect cache and 302 response
#
# first request to /old
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /old HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /new HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newer HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
# 3 more requests to /old
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /old HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /new HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newer HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /old HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /new HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newer HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /old HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /new HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newer HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
# request to /new
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /new HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newer HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
# request to /newer
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newer HTTP/1.1" 302 6
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
# request to /newest
127.0.0.1 - - [11/Jun/2014 13:45:23] "GET /newest HTTP/1.1" 200 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment