Pls help on this complex modrewriting

Discussion in 'Apache' started by sarathy, May 31, 2006.

  1. #1
    Our programmers are trying to rewrite our site in such a way that


    Chennai.mydomain.com > shows content from:

    mydomain.com/indian-classified/cityresults.php?ci=Chennai

    and:
    mydomain.com/classified/adsresult.php?&ci=Chennai&Category=23&City=472&category=Real-Estate
    is rewritten to:
    chennai.mydomain.com/Real-Estate/23-472.html

    and:
    mydomain.com/indian-classified/subadsresult.php?&ci=Chennai&CAT=23&SUBC=1&category=Real-Estate&subcategory=Property-For-Sale
    is rewritten to:
    chennai.mydomain.com/Real-Estate/Property-For-Sale/23-1.html

    Can anyone help on this :)

    We dont have wildcard dns enabled, so i manually create subdomains
    Thanks for ne help.,
    Sarathy.s
     
    sarathy, May 31, 2006 IP