mod_rewrite not converting more than 10 paramters

Discussion in 'Apache' started by iinf, Jun 24, 2008.

  1. #1
    Dear friends,
    I want to pass almost 19 parameters and I have also generated the rule i.e.:

    RewriteRule ^(.*Homepage)\.aspx/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$

    http://www.mydomain.com?cid=$2&sid=$3&cityid=$4&locid=$5& destid=$6&resortid=$7&airid=$8&hotelid=$9&depdate= $10&retdate=$11&dur=$12&boardid=$13&board=$14&adul ts=$15&children=$16&infant=$17&rooms=$18&rating=$1 9 [NC]

    Though the parameters do not contain much data but it is necessary to pass all of them. After 10 parameters mod_rewrite do not recognize 10,11.. and so on. Any working solution...

    Thanking in anticipation
     
    iinf, Jun 24, 2008 IP