hello, I'm going to buy a book on apache (the server!) after this one. I'm looking for a short script that converts one and two foldername(s) to vars in the address bar. for example: www.domain.com/visitors or www.domain.com/visitors/ to www.domain.com/?page=visitors and www.domain.com/visitors/rambo or www.domain.com/visitors/rambo/ to www.domain.com/?page=visitors&item=rambo and www.domain.com/store/dvd or www.domain.com/store/dvd/ to www.domain.com/?page=store&item=dvd hope someone can come up with a simple solution! thanks in advance! Jelle
What language will be used for the script? May be mod_rewrite can do the job: RewriteRule ([A-Za-z]+)/([A-Za-z]+)/? ./index.php?page=$1&item=$2 [QSA]