Web Hosting Talk







View Full Version : mod_rewrite and ? (scripts)


hypernatic.net
05-22-2002, 02:51 PM
howdy,

I want to do something...
dont ask why, too complicated to explain :P

I want to "rewrite" index.php/field1=yes to index.php?field1=yes

so NOT ?-->/ but /-->?

HOW do I do that?
I've tried a few things, nothing worked

priyadi
05-23-2002, 09:01 AM
Try this (untested) code:

RewriteRule ^(.*)/index.php/(.*) $1/index.php?$2