RewriteMap is not allowed here

RewriteMap is not allowed here

am 11.05.2007 22:18:31 von Derektor

Dear all.

This is my simple rewrite definitions

..htaccess
----------------------------

RewriteMap program prg:test

RewriteEngine On

RewriteBase /tests/2

RewriteRule ^(.+)/(.+)$ ?param=$1,\ ${program:$2} [NC]
----------------------------

and

test
------------------------------
#!/bin/bash

echo $1
-------------------------------

In logs I have "RewriteMap is not allowed here"

In google nothing is found :(

What to do ?

Marek.

Re: RewriteMap is not allowed here

am 11.05.2007 22:35:36 von Derektor

> In logs I have "RewriteMap is not allowed here"

OK,I suppose I know

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#Rewrit eMap
RewriteMap Directive
Description: Defines a mapping function for key-lookup
Syntax: RewriteMap MapName MapType:MapSource
Context: server config, virtual host
Status: Extension
Module: mod_rewrite
Compatibility: The choice of different dbm types is available in
Apache 2.0.41 and later


So it seems that using .htaccess I can't set RewriteMap.

Is there some pass auround ?