RewriteRule .* http://localhost:8080/%1&host=bcr.twp-xserve-
dev.lanl.gov [NC,R,L,P]
RewriteCond %{REQUEST_URI} ^/(oms\.acgi\$.*)$
[NC]
Here is an entry from the rewrite logfile:
(2) rewrite /acr/index.a4d -> http://localhost:8080/acr/
index.a4d&host=bcr.twp-xserve-dev.lanl.gov
You might want to change the rewrite rule to:
RewriteRule .* http://localhost:8080/%1?host=bcr.twp-xserve-
dev.lanl.gov [NC,R,L,P]
RewriteCond %{REQUEST_URI} ^/(oms\.acgi\$.*)$
[NC]
If you look closely, you'll see the "host" query param is separated
from the url in your example by "&" instead of "?", which creates an
invalid url. If you want to be able to pass query params in addition
to "host", you will need another rewrite rule which handles that case
first.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/