Is there a way to make a reverse proxy with PHP, akin to
php-web-proxy but that does not use cURL? My server, whose Apache configuration I cannot change, does not have php5-curl/libcurl nor mod_proxy, and it is in PHP safe-mode. I hear it is possible to use fopen instead of cURL.
Basically, I want to forward my local Apache webserver, operating on port (1082), via SSH to a public server (the one whose configuration I cannot change) using this command on my local machine:
Code:
ssh -fNR 1082:localhost:1082 my_u_name@public_server
Then I want
public_server to take
localhost:1082 and reverse proxy it to
http://mydomain.com/myfolder, hence the need for a PHP proxy like
Glype or the above-mentioned
php-web-proxy but that
does not use cURL.
Thanks