SSI – Regular Expressions
转载,来自:http://www.cight.com/spareparts/archives/000269.shtml Since the advent of Apache 2.0.x you have been able to do regular expressions in apache ss 继续>
Blog of ZCW 亦·德利菲的小窝
转载,来自:http://www.cight.com/spareparts/archives/000269.shtml Since the advent of Apache 2.0.x you have been able to do regular expressions in apache ss 继续>
用SSI语句检测query string包含某些文字:
1 2 3 4 5 6 7 | <!--#if expr="$QUERY_STRING = /not_subscribed/"--> You are not subscribed <!--#elif expr="$QUERY_STRING = /error/"--> Something went booboo... <!--#else --> You are no longer part of this mail list. <!--#endif--> |
For more on Apache’s SSI handling of if/else statements, check out this page:http:/ 继续>