Page 1 of 1
mod_rewrite issue
Posted: Wed Dec 06, 2006 8:28 am
by kirby
Hi, I need help with rewrite rule...
address
should be rewrited to
Code: Select all
name.domain.com/show.php?w=something
thanks a lot
Posted: Wed Dec 06, 2006 10:03 am
by pickle
What have you tried so far? What have you researched?
http://www.ilovejackdaniels.com has a mod_rewrite cheat sheet that's quite useful.
Gimme's are hard to find on these forums

Posted: Wed Dec 06, 2006 10:12 am
by kirby
ye, sorry for stupid question, i already figured it out
Code: Select all
RewriteEngine on
RewriteRule ^show/([A-Za-z0-9-]+)?$ show.php?w=$1 [L]
I don't know if it's absolutely correct but works so..

Posted: Wed Dec 06, 2006 10:21 am
by pickle
Cool, good to hear.
Welcome to phpdn by the way.