Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite getvariables

Htaccess question

         

rauschdesign

11:53 am on Oct 11, 2006 (gmt 0)

10+ Year Member



Good day, i have a problem with my htaccess file.
I made a rewrite rule that does this:

mydomain.com/supertest/ --> mydomain.com/index.php?show=supertest

And i want a script that do this:
mydomain.com/supertest/?test_var=123 --> mydomain.com/index.php?show=supertest&test_var=123

I want to pass get variables from a form to
mydomain.com/supertest/

Please someone help me,

Thanks.

jdMorgan

1:39 pm on Oct 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you're are looking to expand your rewrite code to handle multiple variables, then this post [webmasterworld.com] should help.

If you're looking for scripting help, then our PHP or PERL forums would be a good place to look.

Jim