0

I have 2 domains, both on the same server. One of them is running a website. I have a subpage of that website that I want to map the other domain to. The goal is to have the domain www.something.com "invisibly" map to www.somethingelse.com/example.html.

I have achieved quite good success with the following configuration:

ProxyPass / http://www.somethingelse.com/example.html
ProxyPassReverse / www.somethingelse.com/

This seems to work well. However there is one issue, that I do not completely understand. While the initial HTML is loaded properly, source files are not. So for example:

I would say the problem is that everything is being redirected to http://www.somethingelse.com/example.html? So for example www.something.com/style.css would become http://www.somethingelse.com/example.html/style.css?

How would I fix this?

Michal
  • 101
  • 1

0 Answers0