Litespeed 4.0.10 Proxy Issues

Discussion in 'Install/Configuration' started by harrinp1, Sep 15, 2009.

  1. harrinp1

    harrinp1 New Member

    Hi

    I'm trying to set up a proxy contect to an Web Server defined in External Apps.

    The context is configured as /test/ and he webserver is at 127.0.0.1:8899

    However I am seeing the /test/ part of the URL being passed directly through to my external web application which then throws a 404 as it doesn't expect it.

    Is this correct behavior? I've not had any issues with other external web servers I have proxied too before.

    Is this something I can resolve using rewrite rules to strip out the /test/ from the rewritten URL?

    TIA

    Paul
  2. NiteWave

    NiteWave Administrator

    RewriteRule /test/(.*) http://backend8899/$1 [P]

    need define an backend8899 External App first:
    type:Web Server
    Name:backend8899
    Address:127.0.0.1:8899
    ...
  3. harrinp1

    harrinp1 New Member

    Hi

    Thank you, that half solved the problem but I think the content being returned still needs to be rewritten so that the URL's map to /test/.

    I think I will ask the app vendor if they can fix it so their URL's are not absolute to /

Share This Page