thanks, that stopped the iteration problem, but for reasons I cant fathom, I now DONT seem to be picking up the REMOTE_USER, here is the rewrite log on an initial url of http:
//machine.example.com/xs/AllOrganisations.xsql :
(2) init rewrite engine with requested uri /xs/AllOrganisations.xsql
(3) applying pattern '^(.*)\.xsql$' to uri '/xs/AllOrganisations.xsql'
(4) RewriteCond: input='' pattern='!^([^&]*&)*p_username=' => matched
2) init rewrite engine with requested uri /xs/AllOrganisations.xsql
3) applying pattern '^(.*)\.xsql$' to uri '/xs/AllOrganisations.xsql'
4) RewriteCond: input='' pattern='!^([^&]*&)*p_username=' => matched
4) RewriteCond: input='' pattern='^(.*)$' => matched
2) rewrite '/xs/AllOrganisations.xsql' -> '//xs/AllOrganisations.xsql?p_username='
3) split uri=//xs/AllOrganisations.xsql?p_username= -> uri=//xs/AllOrganisations.xsql, args=p_username=
2) forcing proxy-throughput with http:
//machine.example.com//xs/AllOrganisations.xsql
1) go-ahead with proxy request proxy:http:
//machine.example.com//xs/AllOrganisations.xsql [OK]
(5) lookahead: path=/xs/AllOrganisations.xsql var=REMOTE_USER -> val=
(4) RewriteCond: input='' pattern='^(.*)$' => matched
(2) rewrite '/xs/AllOrganisations.xsql' -> '//xs/AllOrganisations.xsql?p_username='
(3) split uri=//xs/AllOrganisations.xsql?p_username= -> uri=//xs/AllOrganisations.xsql, args=p_username=
(2) forcing proxy-throughput with http:
//machine.example.com//xs/AllOrganisations.xsql
(1) go-ahead with proxy request proxy:http:
//machine.example.com//xs/AllOrganisations.xsql [OK]
(2) init rewrite engine with requested uri /xs/AllOrganisations.xsql
(3) applying pattern '^(.*)\.xsql$' to uri '/xs/AllOrganisations.xsql'
(4) RewriteCond: input='p_username=' pattern='!^([^&]*&)*p_username=' => not-matched
(1) pass through /xs/AllOrganisations.xsql
[edited by: jdMorgan at 4:08 pm (utc) on Mar 1, 2010]
[edit reason] Change to example.com, disable smilies in code. [/edit]