使用RewriteMap指令htaccess的文件 [英] use RewriteMap in htaccess file
本文介绍了使用RewriteMap指令htaccess的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何使用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.
这篇关于使用RewriteMap指令htaccess的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文