Sorry - maybe the caption of my post was a bit misleading.
I have included the new rule and restarted Apache but the rule does not appear to be working. Since Siteminder comes into play for authentication I am not sure if there is something going on there. Before I talk to the Siteminder folks I was wondering if someone could look at the receipe I have written and let me know if I have missed anything. Thanks a lot for your help.
When testing a rule and finding it doesn’t work I always debug by taking things out. For example, I would try here to take out the RewriteConds, or at least the ones you’re not sure about.
The block looks fine to me btw, although I would use %{REQUEST_URI} instead of %{THE_REQUEST} because the latter is very buggy.
Also, if you want to know if something contains index.php, why do you use ^.*index\.php$ ?
Oh, and I take it Apache accepts the connections on port 8080 and will thus be able to perform this rewrite you want?
I’m not following your first question, could you restate that please?
Regarding the second question, I’m pretty sure Apache copies the query string if you don’t supply anything in the RewriteRule, but you can easily test that
We already have one rule that works but that uri is without query string.
The new rule that I am working in is to include the query string.
Re my first question - what I wanted to say was that between the apache server and the application server we have an authentication check (done by Siteminder). I don’t have immediate access to logs which can tell how Siteminder handled the new url. Once I am confident that my rule looks good, I can go to the administrator and review the logs.
After reading further re query strings I am now clear that Apache will include them.
I have noted yor comment re changing THE_REQUEST to REQUEST_URI.
Re your question <<if you want to know if something contains index.php, why do you use ^.index\.php$>>
This is because there will be a string (domain name, port) in front of index.php so I included a . for that purpose. What is the alternative?