I wanted to add a RewriteMap to my htaccess to map names to IDs. But when I add the line that defines the map I just get a server error.
RewriteMap rohid "txt:incl/libs/rohlut.txt"
Does this mean that the RewriteMap extension is not enabled on the server?
I found this which suggests you can’t do this in htaccess:-
But the docs say this:-
If you’re planning to use this in a .htaccess
file, you’ll need to remove the leading slash from the rewrite
pattern in order for it to match anything:
which suggests you can.