I'm modifying an existing program to allow multiple users to run off one instance of it. I'm using mod_rewrite to distinguish between instances of the software.

For instance:

site.com/instance_one
site.com/instance_two

and so on.

That part's easy, but I'm wondering if there's a way to append PHP GET data to the end of that and then allow it to act like normal even after mod_rewrite parses the URL.

For instance:

site.com/instance_one/index.php?getuser=123

I had a similar issue with a site I wrote recently, and if I'm understanding your question you should be able to append QSA to the end.

For example:
ReWriteRule ^sub_folder/page.htm$ actual_page.php [L,QSA]

Any parameters added onto the end of the url will be delt with in the 'normal' way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.