开发者

How to escape special characters in .htaccess?

开发者 https://www.devze.com 2023-02-08 06:50 出处:网络
www.example.com/co开发者_开发技巧aching/Run for 1(hr) how can I escape () when using rewrite rule?You should be able to just use a \\ character.I think those are just regexes, so a \\ should escape
 www.example.com/co开发者_开发技巧aching/Run for 1(hr)

how can I escape () when using rewrite rule?


You should be able to just use a \ character.


I think those are just regexes, so a \ should escape the brackets

RewriteRule coaching/(Run) for (1\(hr\)) cgi-bin/log?activity=$1&duraction=$2

Something like that !

0

精彩评论

暂无评论...
验证码 换一张
取 消