Thread: Format of log
View Single Post
  #1  
Old 06-27-2012, 11:21 AM
damienm damienm is offline
New Member
 
Join Date: Jun 2012
Posts: 2
Default Format of log

Hi,

for the log format the server states

"The syntax of log format is compatible with Apache 2.0's custom log format."

However it appears some things are unsupported, or have bugs?

Per the apache 2.0 documentation there are some things not functioning.
http://httpd.apache.org/docs/2.0/mod...g.html#formats

1) I am interested in outputting environmental variables after setting them in a rewrite, for example:

%{FOOBAR}e

From apache:
"%...{FOOBAR}e The contents of the environment variable FOOBAR"

I can never get the variable output in the log though I can confirm it is set in the environment.

2) I also wish to use the < > modifiers with %U

%>U and %<U

From apache:
"The modifiers "<" and ">" can be used for requests that have been internally redirected to choose whether the original or final (respectively) request should be consulted. By default, the % directives %s, %U"

The modifiers seem to have no effect.

cheers for your assistance
Reply With Quote