You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/07/17 00:30:40 UTC

DO NOT REPLY [Bug 47489] enhance mod_rewrite and RewriteLog directive to support Windows UNC path

https://issues.apache.org/bugzilla/show_bug.cgi?id=47489





--- Comment #1 from todd_643@yahoo.com  2009-07-16 15:30:39 PST ---
Created an attachment (id=23998)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23998)
proposed patch file

I made a small change to mod_rewrite.c to not pre-pend the server root to the
log file.

Did a quick test with the following RewriteLog directive in Win2K3.
Everything seems to work as expected.  The rewrite.log file is now written to a
remote share via UNC Path

RewriteLog "|bin/rotatelogs.exe -l -f
//corpserver/app/ApacheLogsTest/rewrite.log 43200"

Please comment & provide guidance on the proposed fix regarding
1. correctness
2. portability

Thanks

-- 
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