-
Want to show beautiful URL.
-
<guide url="/(.+)/(.+)">
<setheader name="url" value="/dispatch.asp?p1=${1}&p2=${2}"/>
</guide>
-
Want to become HTTPS.
-
<guide url="/member/.*">
<actionif sv="HTTPS" match="off"/>
<redirect location="https://%{HTTP_HOST}${0}"/>
</guide>
-
Want to redirect the portable terminal to another.
-
<guide url="/.*" or="or">
<actionif sv="HTTP_USER_AGENT" match="UP.Browser/.+"/>
<actionif sv="HTTP_USER_AGENT" match="KDDI-.+"/>
<actionif sv="HTTP_USER_AGENT" match="DoCoMo/.+"/>
<actionif sv="HTTP_USER_AGENT" match="J-PHONE/.+"/>
<actionif sv="HTTP_USER_AGENT" match="Vodafone/.+"/>
<actionif sv="HTTP_USER_AGENT" match="SoftBank/.+"/>
<actionif sv="HTTP_USER_AGENT" match="MOT-.*"/>
<redirect location="http://mobile.myhost/"/>
</guide>
-
Want to shed the REFERER difference.
-
<guide url="/images/.*">
<actionif sv="HTTP_REFERER" match="http://ownhost/.*" not="not"/>
<setheader name="url" value="/NGReferer.png"/>
</guide>
-
Want to limit IP.
-
<guide url="/.*">
<actionif sv="REMOTE_ADDR" match="192促.168促.3促.促d+" not="not"/>
<setheader name="url" value="/NG-IP.html"/>
</guide>