Use RewriteMap in htaccess file

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

I know that this error will disappear when put it in the httpd.conf or virtual host configuration file. But I want to know if it can be put in htaccess or not?

+5
source share
2 answers

In the documentation:

Context: server configuration, virtual host

so the answer is no, I'm afraid.

+11
source
+4

All Articles