Hello,
i need a php script to work as reverse proxy in front of a wordpress or any other cms site.
I found many scripts with google "php script proxy", but none is working fine and most are very old.
With most i can't even login into the backend. Many have codepage- or mime-type-problems.
This proxy runs on Server1, downloads the site from Server2 (both public ips) and outputs it.
User Browser url [login to view URL] using IP eg. [login to view URL]
Proxy call site from real browser using eg. IP [login to view URL]
- Run using php 7.x
- Run using apache 2.4 using linux
- Use curl or something public available
- Allow login to wordpress backend
- Add custom header like (meta powered by xxx)
What i have
.htaccess (redirect all calls to [login to view URL])
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /[login to view URL]$1 [NC,L,QSA]
[login to view URL]
//get url from browser
$url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
//tell curl a different ip to use
curl_setopt($ch, CURLOPT_RESOLVE, array($p_Hostname . ":80:" . $p_IP, $p_Hostname . ":443:" . $p_IP));
Hi! i can archive that functionality for you. I can build the proxy that will support cookies/headers and all other required information to be passed to another site.
The only problem here i can see if your origin site have something that depends on visitor IP. Since via proxy it will be all time the same .
Thanks.
€240 EUR om 10 dager
5,0 (35 omtaler)
6,8
6,8
6 freelancers are bidding on average €218 EUR for this job
Hello,
After reading your project details I believe I'm suitable for this project. As I'm expert on it with more than 7 years experience.
Please feel free to contact me.
I am looking forward to hear from you.
Best regards
Feroz
N. B..
- Must response and discuss before award.
- Absolutely not interested to do any test work.
- The Price is Negotiable.***
Hi Sir!
I am an experienced wordpress expert and genius
I read your project description and got your need.
Also I have much experience wordpress/woocommerce site building, site migration, theme/plugin customization, bug troubleshooting, back panel administration and so on.
So I am sure I can complete your project perfectly.
If you hire me, I will handle your project as you want.
I am available to start immediately.
Look forward to hearing from you.
Best regards.
Thank you!
From Song Y
We can develop a custom proxy solution for your website which also can be used as load balancer and reverse proxy your backend ip will be 100% hidden and backend servers will be communicating with frontend servers only . you can deploy multiple backend servers if you want