Forum Moderators: phranque
https://test-example.com/reports/saw.dll?capublisherEntry&Action=open&itemType=.xdo&bipPath=%2FPublic%2FTMF%2FUtilization%2FPrimary%20Utilization%20Report.xdo&path=%2Fshared%2FPublic%2FTMF%2FUtilization%2FPrimary%20Utilization%20Report.xdo https://test-example.com/reports/saw.dll?capublisherEntry&Action=open&itemType=.xdo&bipPath=%2FPublic%2FTMF%2FUtilization%2FPrimary_Utilization_Report.xdo&path=%2Fshared%2FPublic%2FTMF%2FUtilization%2FPrimary_Utilization_Report.xdo [edited by: not2easy at 4:32 am (utc) on May 4, 2017]
[edit reason] readability [/edit]
RewriteCond %{QUERY_STRING} \S\s\S
RewriteRule reports/saw\.dll https://example.com/foo.html [R=302,L]
RewriteCond %{QUERY_STRING} %20
RewriteRule reports/saw\.dll https://example.com/bar.html [R=302,L]
The sole purpose of this experiment is to see what the spaces look like: do they end up at "foo.html" or "bar.html"? (The pages need not really exist. You're just seeing which request gets made.) And then we'll take it from there.
The spaces end up at bar.html.