Logging not working
2 posts
• Page 1 of 1
Logging not working
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?
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?
Re: Logging not working
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.
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.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests