A
A
Andrew2015-12-12 21:11:22
Apache HTTP Server
Andrew, 2015-12-12 21:11:22

Mod_rewrite on request to give a page from another domain?

On Habré, I saw an example in an article in which, using mod_rewrite, when requesting a page, another one was given,
requesting the a.html page, the contents of b.html were displayed,
but is it possible to do this only with different domains or subdomains?
For example, when requesting example1.com/a.html, we get the content of example2.com/b.html ?
By means of mod_rewrite.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question