Hiya
OK im still not satisfied with apache being pretty slow and inefficient.
I'm going to run either nginx or lighttpd (as they are light httpd's) and have it do all the work with php in fast-cgi mode.
Then ill spit it back to apache through a back-end proxy connection, so the end user will only ever hit apache.
For this to work, one of the two light httpd's will need to have virtual hosts set-up the same time apache does during an account creation and when they are removed.
As nginx supports .htaccess files and lighty doesn't, would be handy to add specific config for that sites virtual hosts section through cpanel (although this isnt required, as i can just edit the main config file for now.)
Also could create a new section under software to compile one of the light servers, or it could be recompiled along with apache.
I think this would further improve the server, and this kind of change or addition would bennefit everyone
Thanks
Tom



LinkBack URL
About LinkBacks



Reply With Quote
now i think about one method - set at cron script which will rescan every 5 minute httpd.conf and make changes in config of ngnix ?





