> 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

You're saying it isn't matching, or it isn't rewriting the correct url?

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to