我如何使用RewriteMap指令指令htaccess的文件吗? 当我把它放在那里,我得到RewriteMap指令不准在这里的错误。
How can i use RewriteMap directive in htaccess file? When i put it there i get "RewriteMap not allowed here" error.
我知道把当它在httpd.conf或虚拟主机的配置文件,该错误将消失。 但我想知道是否有可能把它放在htaccess的或不?
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 in htaccess or not?
从文档:
上下文:服务器配置,虚拟主机
Context: server config, virtual host
因此,答案是不,我害怕。
so the answer is "no", I'm afraid.