Created
September 3, 2013 12:41
-
-
Save thekarel/6423396 to your computer and use it in GitHub Desktop.
Debug Apache mod_rewrite, with sample output
From http://stackoverflow.com/questions/7738170/how-to-debug-htaccess-rewrite-script
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
[Tue Sep 03 13:35:58.125158 2013] [rewrite:trace3] [pid 31092:tid 1612] mod_rewrite.c(467): [client 10.242.31.99:56927] 10.242.31.99 - - [10.242.31.99/sid#35df50][rid#276d7d8/initial] [perdir C:/xampp/htdocs/WebSite/v1/folder/home/] strip per-dir prefix: C:/xampp/htdocs/WebSite/v1/folder/home/ -> | |
[Tue Sep 03 13:35:58.125158 2013] [rewrite:trace3] [pid 31092:tid 1612] mod_rewrite.c(467): [client 10.242.31.99:56927] 10.242.31.99 - - [10.242.31.99/sid#35df50][rid#276d7d8/initial] [perdir C:/xampp/htdocs/WebSite/v1/folder/home/] applying pattern 'WebSite/v1/folder/home/' to uri '' | |
[Tue Sep 03 13:35:58.125158 2013] [rewrite:trace1] [pid 31092:tid 1612] mod_rewrite.c(467): [client 10.242.31.99:56927] 10.242.31.99 - - [10.242.31.99/sid#35df50][rid#276d7d8/initial] [perdir C:/xampp/htdocs/WebSite/v1/folder/home/] pass through C:/xampp/htdocs/WebSite/v1/folder/home/ |
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
LogLevel warn rewrite:trace8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment