[LLVMdev] Recommendation: aim for FastCGI, not webserver modules (slightly OT)

Joachim Durchholz jo at durchholz.org
Thu Apr 24 09:22:01 PDT 2008


Am Donnerstag, den 24.04.2008, 11:08 +0300 schrieb Razvan Aciu:
> On long term this abstraction layer, which in fact is a webserver module,

Writing a webserver module is probably not the first thing one should
do. All webserver modules have serious trouble with security in a
multiuser environment (not a surprise: the module runs as the Apache
user, so the scripts of the multi users could interfere with each
other).
If you target the mass hosting / mass scripting market, start with a
FastCGI application server; these are standalone processes that can be
run with the proper owner set and hence don't have these problems.
Besides, you can use the same FastCGI server for all web serves, while
you'd need to write separate interface stuff for Apache, Lightpd, Zope,
or whatever you'd want to target.

Regards,
Jo




More information about the llvm-dev mailing list