DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39650>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39650 Summary: mod_rewrite uses physical path if one exists in Linux Product: Apache httpd-2 Version: 2.0.54 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_rewrite AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] mod_rewrite seems to use the physical path if it exists instead of appending the document root to the rewritten URI. To simulate: Consider this rewrite rule RewriteRule ^/Images/(.*) /lib/Images/$1 Even if you have a lib/Images uder your Docroot, the path is resolved to the physical path of /lib/Images/ and image serving fails. 192.168.50.209 - - [24/May/2006:11:04:11 +051800] [192.168.50.9/sid#81168c0] [rid#81afac8/initial] (2) local path result: /lib/Images/logo.jpg 192.168.50.209 - - [24/May/2006:11:04:11 +051800] [192.168.50.9/sid#81168c0] [rid#81afac8/initial] (1) go-ahead with /lib/Images/logo.jpg [OK] This should actually be <docroot>/lib/Images/logo.jpg Incidentally, the same Rewrite rule works fine in Windows. This has probably to do with the non-existance of /lib physical path in the Windows environment -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
