just another mod_rewrite Q

sorry about this but im tired and in no mood to think.

RewriteEngine on
Options +FollowSymlinks
RewriteBase /

RewriteRule ^(.+)$ /dealers/handler.php?name=$1 [QSA,L]

why wont that work

alli want is to change www.domain.com/blabla into www.domain.com/dealers/handler.php?name=blabla
LVL 7
maUruAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

D4LyCommented:
Hi maUru-

RewriteRule ^/([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=$1 [QSA]
maUruAuthor Commented:
nope doesnt work
D4LyCommented:
RewriteEngine On
RewriteRule ^/([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=$1 [QSA]

works for me...sorry.
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

maUruAuthor Commented:
show me a website that its working on.
D4LyCommented:
http://www.d4ly.com/whateveryoulike

you may need to remove the first slash:

RewriteEngine On
RewriteRule ^([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=$1 [QSA]
maUruAuthor Commented:
yep took off the slash and it messes up my site now...500 error...any ideas?
D4LyCommented:
assuming you've tried your .htaccess file with JUST

RewriteEngine On
RewriteRule ^([0-9a-zA-z]+)(/)?$ /dealers/handler.php?name=$1 [QSA]

and it doesn't work...nope, no ideas.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
caterham_wwwCommented:
What happens, if you're using

RewriteEngine On
RewriteRule ^.*  http://www.google.com [R]

you should be redirected to google. If not, what type of error did you receive?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.