Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The "RewriteLogLevel" page has been changed by preinheimer. http://wiki.apache.org/httpd/RewriteLogLevel?action=diff&rev1=1&rev2=2 -------------------------------------------------- - This directive sets the verbosity of the logging that will occur for rewrite directives. Valid values range from 0 - 9, with 0 being no logging at all, and 9 logging all possible information. The higher values are useful primarily in a debugging context. + This directive sets the verbosity of the logging that will occur for rewrite directives. Valid values range from 0 - 9, with 0 being no logging at all, and 9 logging all possible information. The higher values are useful primarily in a debugging context. + Two requests will be used to demonstrate the difference between the different log levels. + - A request for the existing resource paul_reinheimer.png + - A request for the non-existant resource rich_bowen.png + + Log Level 9 + + Existing: + 127.0.0.1 - - [19/Nov/2009:14:41:25 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (1) pass through /paul_reinheimer.png + Non-Existant + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (2) init rewrite engine with requested uri /rich_bowen.png + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (3) applying pattern '.' to uri '/rich_bowen.png' + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (4) RewriteCond: input='/var/www/vhost.example.com/rich_bowen.png' pattern='!-d' => matched + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (4) RewriteCond: input='/var/www/vhost.example.com/rich_bowen.png' pattern='!-f' => matched + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (2) rewrite /rich_bowen.png -> /index.php + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (2) local path result: /index.php + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (2) prefixed with document_root to /var/www/vhost.example.com/index.php + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#867d470/initial] (1) go-ahead with /var/www/vhost.example.com/index.php [OK] + Note: A seperate request is also made for favicon.ico by most browsers: + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (3) applying pattern '.' to uri '/favicon.ico' + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (4) RewriteCond: input='/var/www/vhost.example.com/favicon.ico' pattern='!-d' => matched + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (4) RewriteCond: input='/var/www/vhost.example.com/favicon.ico' pattern='!-f' => matched + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (2) rewrite /favicon.ico -> /index.php + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (2) local path result: /index.php + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (2) prefixed with document_root to /var/www/vhost.example.com/index.php + 127.0.0.1 - - [19/Nov/2009:14:42:55 --0500] [vhost.example.com/sid#8475130][rid#8681480/initial] (1) go-ahead with /var/www/vhost.example.com/index.php [OK] + + Log Level 8 + +
