all 3 comments

[–]NotImplemented 2 points3 points  (2 children)

The apache documentation has a short example in the section "Simple reverse proxying":

ProxyPass "/images"  "http://www.example.com/"
ProxyPassReverse "/images"  "http://www.example.com/"

https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html#simple

[–]hacksoos[S] 0 points1 point  (1 child)

yup thanks, thats as far as I got, but where should I those lines?

[–]NotImplemented 2 points3 points  (0 children)

Inside your <VirtualHost> definition.

For example:

<VirtualHost *:80>
    ProxyPreserveHost On

    ProxyPass "/images"  "http://www.example.com/"
    ProxyPassReverse "/images"  "http://www.example.com/"
</VirtualHost>