httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7492] - prg: Rewritemap don't work in win32
Date Fri, 19 Apr 2002 18:47:49 GMT
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.

Mime
View raw message