help with mod_rewrite

New to mod_rewrite? This is a good place to start.

help with mod_rewrite

Postby vasiliosarvantis » Sat Aug 17, 2002 9:24 am

i have looked and read many mod_rewrite tutorials but i can't figure out how to do this. i'm new to mod_rewrite

i installed mod_rewrite, added rewriteengine=on, but i can't figure out how to do this:

http://mydomain.com/pages/home/ ==> http://mydomain.com/index.php?page=home

and

http://mydomain.com/pages/contact/ ==> http://mydomain.com/index.php?page=contact

all the tutorials i've read so far only show you how to do this with numbers ([0-9]*. and whatnot), but my $page is a variable. how can i do this?

any help would be greatly appreciated,

thanks,

vasilios arvantis
vasiliosarvantis
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 35 guests

cron