php - Setting up a proxy server -
So I have a server set up (LAMP) server, this proxy has access to the internal network and give it to me
For example, you should be able to call that proxy with a POST request with the correct parameter and the proxy should return the status of that post. Now we say that the post is being done in a php script (something.php) in the main folder of that proxy how can I access the world to use that proxy?
I hope it is clear, sorry, I could not explain it very much but if you have any other questions for explanation, please tell me!
To set up a reverse proxy with Apache, you must use mod_proxy
With the mod_proxy_http
you must use the proxy HTTP request is manual.
There is a basic configuration directly from the manual:
Proxy request closes
Now when the proxy server receives the request for / Foo / whatever
, it will download itself http://foo.example.com/bar/whatever
and upload it back to the customer.
Comments
Post a Comment