I want requests to a legacy application that page to be forced to an Active4D version of the page.
Active4D sits behind Apache. We use rewrite rules to hand request off to 4D (A4D and the legacy app). If I have http://www.example.org/db.acgi$foo.detail?1234 I would like to serve: http://www.example.org/foo/detail.a4d?id=1234 More specifically I want it to reverse proxy to http://localhost:8080/foo/detail.a4d?id=1234 I'm fairly adept at regex, but I can't seem to figure out the mod_rewrite part where * the request was for db.acgi$foo.detail * the id of that request was 1234 I have something like this: RewriteRule ^/db\.acgi\$foo\.detail\?(.+)$ http://localhost:8080/foo/detail?id=$1 [NC,P] ProxyPassReverse / http://localhost:8080 Any tips would be greatly appreciated. I've googled for examples but haven't found this specific case. Thanks, Brad Perkins _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
