rewrite question

Discussion in 'Apache' started by kvkvkv, Feb 16, 2010.

  1. #1
    Any idea how to write a following rewrite rule:

    http://localhost/dir_1/dir_2/dir_n/page.html?param_1=value_1&param_2=value_2&param_n=value_n

    should be rewritten to format:

    http://otherhost:8080/myservlet?path=/dir_1/dir_2/dir_n/page.html&param_1=value_1&param_2=value_2&param_n=value_n


    Thanks....
     
    kvkvkv, Feb 16, 2010 IP