Score:0

Apache mod_proxy redirect

bq flag

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?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.