backreference limitations

Discuss practical ways rearrange URLs using mod_rewrite.

backreference limitations

Postby MartynW » Wed Aug 13, 2003 2:51 am

Hello,

Is there a way to get round the limit of 9 backreferences in mod_rewrite?

We have long cgi urls in the form of:

/script.cgi?param1=value1&param2=value2

where there can be anywhere up to 20 param/value combinations in the url.

We're trying to make the urls search engine friendly by rewriting them as:

script/([0-9]+)/([0-9]+).html script.cgi?param1=$1&param2=$2

but after a maximum of 9 backreferences ($x) the rewrite stops working.

Is there a way around this?

Thanks,

Martyn
MartynW
 

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 38 guests

cron