开发者

REQUEST_URI must NOT end on

how can I do this?

RewriteCond %{REQUEST_URI}      !payment\.callback\.php$ [NC]

the uri must not end on payment.callback.php

EDIT:

RewriteCond %{HTTPS}            !=on
RewriteCond %{HTTP_HOST}        ^(secure)\.domain\.com$ [NC]
RewriteCond %{REQUEST_URI}      !payment\.[^.]\.php$ [NC]
RewriteRule ^(.*)$        开发者_如何学运维      https://%1.domain.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST}        ^(demo|secure)\.domain\.com$ [NC]
RewriteCond %{REQUEST_URI}      !^/_domain\.com/_secure/ [NC]
RewriteRule ^(.*)$              /_domain.com/_secure/$1 [L]

I don't want to rewrite (http => https) urls to secure.domain.com that ends on payment\.[^.]+\.php$

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜