S
S
Shlyahten2016-09-17 13:00:49
PHP
Shlyahten, 2016-09-17 13:00:49

How to set up proxying on a PHP site with saving paths?

There is site1.ru to which files there is no access, is it possible to create site2.ru so that it works as a gateway / proxy. That is, when site2.ru/123.html was opened, the contents of site1.ru/123.html were displayed

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2016-09-17
@Shlyahten

https://httpd.apache.org/docs/current/mod/mod_prox...

1
15432, 2016-09-17
@15432

transparent proxy? The same squid can do it. Run it on IP site2, set up a redirect to site1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question