|
Applications and Usage of reverse proxy
Reverse proxy is resolve a request URL to another server machine (or same server with different port) as a remote location. It get the content from the remote location and then return back to the client who request the URL. The content or the header information can be modified before returning to the client, and the raw content may be stored as cache files or inside a database. A Reverse proxy can be a building block for other applications, such as
This project try to create a simple reverse proxy server using PHP, which may be further used to build complex applications. The specifications have been listed as followings:
The source code can be found in the source code page.
Reference Reading
This class rely on correct setting of Web server for handling File Not Found Error 404. The following articles are related to steps in setting up File Not Found 404 handling pages:
Not only PHP can be served as a development language for Reverse Proxy. I have written Reverse Proxy in Classical ASP as well as Python. The followings are related notes in Python (I will post the ASP version in near future):
*Note 1: Not all the webservers transfer the POST parameters via the 404 error handling document.
|