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=43845>. 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=43845 Summary: Enable RewriteCond file size comparisons Product: Apache httpd-2 Version: 2.2.6 Platform: All OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: mod_rewrite AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] mod_rewrite supports a "-s" CondPattern which checks if the specified TestString is a regular file with non-zero size. The attached patch expands the "-s" option to support comparisons against arbitrary sizes. Matches files greater than 100000 bytes: RewriteCond TestString -s>100000 Matches files less than 4023 bytes: RewriteCond TestString -s<4023 Matches files exactly 230000 bytes: RewriteCond TestString -s=230000 The old specification still works as well: RewriteCond TestString -s is equivalent to : RewriteCond TestString -s>0 -- 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]
