简体   繁体   中英

modify REQUEST_URI in .htaccess

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 literally?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM