Sunday, November 6, 2016

Cherry Py. Running through Apache

Create a config file under httpd/conf.d/, that reads:

ProxyPass /app2 http://localhost/app2
ProxyPassReverse /app2 http://localhost:9091/app2

this is the cherrypy server:
http://localhost:9091
with an application running in /app2.

This is a reverse proxy. When client requests /app2, the request is finally handled as
http://localhost:9091/app2
and this seems being done without the client being aware of the cherrypy server.

No comments:

Post a Comment