Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 7492] - prg: Rewritemap don't work in win32

From: <bugzilla(at)apache.org>
Date: Fri Apr 19 2002 - 14:47:49 EDT


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7492>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7492

prg: Rewritemap don't work in win32

  • Additional Comments From wrowe@apache.org 2002-04-19 18:47 ------- This bug is difficult to address in Apache 1.3.x. Not impossible, but difficult. As guessed, this has never worked in the 1.3 series.

Apache 2.0.x introduced new APIs for determining fully qualified path names. Mod_rewrite in Apache 2.0 was updated in v. 1.84 to accept any rooted path (based on the filesystem convention, e.g. c:/foo for win32, or foo/bar:bleh for Netware.)

http://cvs.apache.org/viewcvs/httpd-2.0/modules/mappers/mod_rewrite.c.diff?r1=1.83&r2=1.84&diff_format=h

There may also be thread saftey problems with the rewrite cache, introduced in Apache 2.0's v. 1.83, that would need backporting.

http://cvs.apache.org/viewcvs/httpd-2.0/modules/mappers/mod_rewrite.c.diff?r1=1.82&r2=1.83&diff_format=h

Finally, it seems that ap_pstrcat is still being used to merge paths in 1.3 and 2.0. This should be fixed in 2.0 to use apr_filepath_merge, and there was a similar API in 1.3.

So this can be fixed, but someone needs to take the time to write and test the fixes. I'd entertain applying a patch that was well thought out.



To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Fri Apr 19 18:47:45 2002
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:14 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library