dps / piui

Add a UI to your standalone Raspberry Pi project using your Android phone
419 stars 96 forks source link

Replacement of Nginx with Apache #2

Closed thepapanoob closed 11 years ago

thepapanoob commented 11 years ago

does PIUI rely on some features of nginx? or can i easily replace nginx with apache? Greetz Kru

dps commented 11 years ago

nginx is used to force an HTTP/1.0 connection to the cherrypy backend. Apache is a web server rather than a reverse proxy like nginx, so you could try to replace cherrypy with apache + mod_python or similar, but this would require quite a lot of work - the hanging GETs which PiUi uses to make the browser <--> device interaction event driven rely on the internals of cherrypy.