apache.htaccessmod-rewriterewritemap

use RewriteMap in htaccess file


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 in htaccess or not?


Solution

  • From the documentation:

    Context: server config, virtual host

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