httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46650] CustomLog enviroment condition SCRIPT_FILENAME
Date Mon, 13 Jul 2009 17:57:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46650


Gabor M. <rroeilck@no-spam.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #5 from Gabor M. <rroeilck@no-spam.hu>  2009-07-13 10:57:53 PST ---
sorry but i reopen this bug again.

The logging is don't work if the RewriteRule is _in the .htaccess_ !!!

.htaccess:

  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

apache.conf:

  CustomLog /var/log/apache2/test.log extra env=SCRIPT_FILENAME

If you will try access any url except index.php you will be redirected to
index.php but the requst will not be logged!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message