Page 1 of 1
Mod_rewrite doesn't send post vars
Posted: Fri Jun 17, 2005 11:20 am
by Todd_Z
When I rewrite the friendly urls, the post variables aren't sent along with it, how can i send post vars from the original url in the RewriteRule?
Posted: Fri Jun 17, 2005 1:34 pm
by John Cartwright
POST vars arn't sent in the URL

Not quite sure what you mean?
Posted: Fri Jun 17, 2005 2:26 pm
by Todd_Z
Well I want a form to submit information via POST to domain.com/SEARCH
then mod_rewrite causes it to be domain.com/index.php?page=Search
But the Post variables aren't transfered when this is done.
Posted: Sun Jun 19, 2005 10:57 am
by Todd_Z
Any ideas folks?
Posted: Sun Jun 19, 2005 12:08 pm
by Skara
Shoowee, you got me worried my site wasn't working. It works fine for me. Post your rewrite code.
Posted: Sun Jun 19, 2005 1:00 pm
by Todd_Z
I actually just decided to migrate over to a javascript mod_rewrite... ish.
Basically, when the submit button is clicked, I'm going to create a url from the values that is a "friendly" url. Maybe I'll revisit this later.