In htaccess my code is
RewriteMap country2id txt:map_country.txt
RewriteRule ^/country/(.*) /call_country.php?id=${country2id:$1|NOTFOUND} [PT]
For this code its showing 500 internal Error…
Plz Anybody give me a Solution…
Thanks in Advance…
In htaccess my code is
RewriteMap country2id txt:map_country.txt
RewriteRule ^/country/(.*) /call_country.php?id=${country2id:$1|NOTFOUND} [PT]
For this code its showing 500 internal Error…
Plz Anybody give me a Solution…
Thanks in Advance…
You can’t use RewriteMap in htaccess, only in http.conf – the main Apache conf file. If you’re on shared hosting you most likely don’t have access to that.
Also, you can’t address the query string in a RewriteRule, you need to that in a RewriteConf.