Welcome to WebmasterWorld Guest from 54.227.214.52

Forum Moderators: Ocean10000 & incrediBILL & phranque

rewrite tolower

rewrite tolower

   
8:25 am on Feb 3, 2009 (gmt 0)

5+ Year Member



I have this rewrite rule working fine

RewriteRule ^used/([^/]+)/cars/?$ used/mks.asp?used=$1 [NC,NE,L]

I tried putting this tolower rule in but it doesn't work.

RewriteMap lower int:tolower
RewriteRule ^used/([^/]+)/cars/?$ used/mks.asp?used=${lower:$1} [NC,NE,L]

I have tried several different variations but still no luck - can it be done?

Thanks guys

10:47 am on Feb 3, 2009 (gmt 0)

10+ Year Member



I tried putting this tolower rule in but it doesn't work.

The RewriteMap must be defined in your httpd.conf (per-server context).

 

Featured Threads

Hot Threads This Week

Hot Threads This Month