On Tue, Jan 2, 2018 at 1:05 PM, Simon Walter <si...@gikaku.com> wrote:
> On 01/02/2018 06:06 PM, Luca Toscano wrote:
>>
>> Can you explain a bit more what do you mean with "I am getting local
>> links" ?
>
> I think Noor is expecting mod_proxy to modify the HTML. I might be
> wrong, but IIRC that is not what mod_proxy does.
>
[snip]
>
> Noor, I think you will need to form your URLs as they should appear to
> the final client.

The URLs created by the application (origin server) should be
relative, no preceeding scheme nor domain:port like
"http://localhost:8080";, but paths only (e.g. HTML links should look
like '<img src="/marmotta/foo.gif" ... />' instead of '<img
src="http://localhost:8080/marmotta/foo.gif"; ... />').

Another possibility, if you can't change the application, is to use
mod_proxy_html to rewrite the URLs, but it's less easy...


Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to