开发者

use RewriteMap in htaccess file

开发者 https://www.devze.com 2023-01-21 15:44 出处:网络
How can i use RewriteMap directive in htaccess file? When i put it there i get \"RewriteMap not allowed here\" error.

How can i use RewriteMap directive in htaccess file? When i put it there i get "RewriteMap not allowed here" error.

I know this error will disappear when put it in httpd.conf or virtualhost configuration file. But i want to know is it possible to put it i开发者_StackOverflow社区n htaccess or not?


From the documentation:

Context: server config, virtual host

so the answer is "no", I'm afraid.


As far as I know it cannot be used in htaccess.

Maybe you could check this out as an alternative: http://savride.wordpress.com/2008/09/09/rewritemap-directive-in-htaccess-file-problem/

0

精彩评论

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