Mod rewrite problem,help

Discussion in 'Apache' started by myinnet, Sep 19, 2006.

  1. #1
    I do not know what wrong with this sentence:
    RewriteRule ^cat/[.]*_([0-9]+).html /cat.php?$1
    this one can not works well, the problem is [.]*_, i can use:
    ^cat/([0-9]+).html /cat.php?$1
    and
    http://www.domain.com/cat/90.html to show the page,

    But this one:
    ^cat/[.]*_([0-9]+).html /cat.php?$1
    and
    http://www.domain.com/cat/any-text-here_90.html to show the page,

    can anyone help me out?
    THanks
     
    myinnet, Sep 19, 2006 IP