开发者

modify REQUEST_URI in .htaccess

开发者 https://www.devze.com 2023-01-02 20:19 出处:网络
I want server side script to see modified uri instead of the uri that was typed in browser. Just like in the following example:

I want server side script to see modified uri instead of the uri that was typed in browser.

Just like in the following example:

RewriteCond %{REQUEST_URI} (.*)abcdef$
RewriteRule ^(.*)$ /test/ [L] 

But the server side script still sees abcdef

Is it possible to modify REQUEST_URI liter开发者_开发百科ally?


use [R] instead of [L]. this is just some text.

0

精彩评论

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