Skip to content

Instantly share code, notes, and snippets.

@aviks
Created January 12, 2014 14:01
Show Gist options
  • Save aviks/8384895 to your computer and use it in GitHub Desktop.
Save aviks/8384895 to your computer and use it in GitHub Desktop.
RewriteLog
#http://foo.com
X.127.16.9 - - [12/Jan/2014:08:50:06 --0500] [foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/www.foo.com/ -> www.foo.com/
X.127.16.9 - - [12/Jan/2014:08:50:06 --0500] [foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (3) [perdir /var/www/] applying pattern '^(.*)' to uri 'www.foo.com/'
X.127.16.9 - - [12/Jan/2014:08:50:06 --0500] [foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (2) [perdir /var/www/] rewrite 'www.foo.com/' -> 'http://www.foo.com/www.foo.com/'
X.127.16.9 - - [12/Jan/2014:08:50:06 --0500] [foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (2) [perdir /var/www/] explicitly forcing redirect with http://www.foo.com/www.foo.com/
X.127.16.9 - - [12/Jan/2014:08:50:06 --0500] [foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (1) [perdir /var/www/] escaping http://www.foo.com/www.foo.com/ for redirect
X.127.16.9 - - [12/Jan/2014:08:50:06 --0500] [foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (1) [perdir /var/www/] redirect to http://www.foo.com/www.foo.com/ [REDIRECT/301]
#http://bar.com
X.127.16.9 - - [12/Jan/2014:08:52:53 --0500] [bar.com/sid#7f8aa3d60428][rid#7f8a9d8c00a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/www.bar.com/ -> www.bar.com/
X.127.16.9 - - [12/Jan/2014:08:52:53 --0500] [bar.com/sid#7f8aa3d60428][rid#7f8a9d8c00a0/initial] (3) [perdir /var/www/] applying pattern '^(.*)' to uri 'www.bar.com/'
X.127.16.9 - - [12/Jan/2014:08:52:53 --0500] [bar.com/sid#7f8aa3d60428][rid#7f8a9d8c00a0/initial] (1) [perdir /var/www/] pass through /var/www/www.bar.com/
X.127.16.9 - - [12/Jan/2014:08:52:53 --0500] [bar.com/sid#7f8aa3d60428][rid#7f8a9d8ad0a0/subreq] (1) [perdir /var/www/] pass through /var/www/www.bar.com/index.html
#http://www.foo.com
X.127.16.9 - - [12/Jan/2014:08:53:42 --0500] [www.foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/www.foo.com/ -> www.foo.com/
X.127.16.9 - - [12/Jan/2014:08:53:42 --0500] [www.foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (3) [perdir /var/www/] applying pattern '^(.*)' to uri 'www.foo.com/'
X.127.16.9 - - [12/Jan/2014:08:53:42 --0500] [www.foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8c00a0/initial] (1) [perdir /var/www/] pass through /var/www/www.foo.com/
X.127.16.9 - - [12/Jan/2014:08:53:42 --0500] [www.foo.com/sid#7f8aa3d63ea8][rid#7f8a9d8ad0a0/subreq] (1) [perdir /var/www/] pass through /var/www/www.foo.com/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment