Logging not working

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 2
Joined: 21 Jan 2015, 15:08

Logging not working

21 Jan 2015, 16:01

I hope somebody can help me to get logging to work. My IIS server is running ISAPI_Rewrite 2.x. I realize this is a version 2 question, but I thought I would ask it here as well. The syntax in my httpd.ini file is:

RewriteEngine on

# Specify the ISAPI_Rewrite log files
RewriteLog "D:\clnts\www.korby.com\errors\rewrite.log"
ErrorLog "D:\clnts\www.korby.com\errors\rewriteError.log"

# Set the level of logging (level 9 may slow down the server)
RewriteLogLevel 9
LogLevel debug

# Test#1. This should rewrite test.htm to test2.htm.
RewriteRule ^/test.htm$ /test2.htm

Neither log file is getting written, but the rewrite rule is working. I'm pretty sure the errors directory is writable (my service provider swears to it). I grabbed this syntax from the version 3 documentation. Is it correct for version 2?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Logging not working

22 Jan 2015, 13:47

Hello,

The thing is that v2 does not have any decent logging.
The logging directives you have written are from v3 and will not bring the desired result.
RewriteEngine directive is also unsupported in v2.
Som please consider moving to v3, as v2 is obsolete and not supported anymore.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 21 guests