Questions tagged [rewritelog]

RewriteLog is an Apache directive that sets the name of the file to which the server logs any rewriting actions it performs.

RewriteLog is an Apache directive that sets the name of the file to which the server logs any rewriting actions it performs.

3 questions
17
votes
1 answer

Can't configure the rewrite log

I'd like to enable the rewrite log to debug some rewrite rules that are giving me problems. So I added these lines at the end of my httpd.conf file: RewriteLog "/logs/rewrite.log" RewriteLogLevel 4 Next…
Luis Martin
  • 910
  • 3
  • 14
  • 31
1
vote
0 answers

How to implement a sub-request in .htaccess?

In Apache I am trying to emulate the RewriteLog behaviour with a sub-request pointing to a simple cgi script According to Apache 2.2 documentation: %{LA-U:variable} can be used for look-aheads which perform an internal (URL-based) sub-request…
RafaSashi
  • 16,483
  • 8
  • 84
  • 94
0
votes
0 answers

Is it possible to get the rewrite logs in a custom log file in apache 2.4?

I am using Apache 2.4 and using below code- CustomLog logs/rewrite_test.log common and it is giving me logs something like this- 8.38.28.983 stage.mysite.test.com- [10/Aug/2017:16:01:19 -0400] "GET…
Sara
  • 373
  • 1
  • 12
  • 26