开发者

mod rewrite htaccess add dots on the pattern

开发者 https://www.devze.com 2023-02-06 03:21 出处:网络
just a quick question, how can I add dots (.) to my pattern? I dont want to use (*) all the symbols, just add the dot one.

just a quick question, how can I add dots (.) to my pattern? I dont want to use (*) all the symbols, just add the dot one.

For the moment I have this pat:

RewriteRule ^([a-z-_0-9]+)/([^/.]开发者_运维技巧+)$

Thanks!!


Use \. to add the single dot to your pattern.

0

精彩评论

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