Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes |
informatique:apache [25/08/2010 23:04] – cyrille | informatique:apache [31/08/2010 17:19] – cyrille |
---|
| |
Une bonne présentation<sup>FR</sup> des modules mod_cache, mod_disk_cache, mod_mem_cache, mod_file_cache : [[http://www.lephpfacile.com/manuel-apache/caching.php|Guide de la mise en cache]]. | Une bonne présentation<sup>FR</sup> des modules mod_cache, mod_disk_cache, mod_mem_cache, mod_file_cache : [[http://www.lephpfacile.com/manuel-apache/caching.php|Guide de la mise en cache]]. |
| |
[[http://httpd.apache.org/mod_fcgid|mod_fcgid]] is a high performance alternative to mod_cgi or mod_cgid, which starts a sufficient number instances of the CGI program to handle concurrent requests, and these programs remain running to handle further incoming requests. It is favored by the PHP developers, for example, as **a preferred alternative to running mod_php in-process, delivering very similar performance**.\\ | |
mod_fcgid was **created as a new FastCGI implementation**, and was granted to the ASF as an Apache HTTP Server subproject in 2009.\\ | |
The [[http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html|Apache Module mod_fcgid]] reference page.\\ | |
[[http://dotclear.placeoweb.com/post/mod_fcgid|PlaceOWeb partage son expérience]] sur mod_fcgid. | |
| |
===== Sécurité ===== | ===== Sécurité ===== |
| |
[[http://www.howtoforge.com/how-to-defend-slowloris-ddos-with-mod_qos-apache2-on-debian-lenny|How To Defend slowloris DDoS With mod_qos (Apache2) ]] MarcusSpiegel (2009-07-15) | [[http://www.howtoforge.com/how-to-defend-slowloris-ddos-with-mod_qos-apache2-on-debian-lenny|How To Defend slowloris DDoS With mod_qos (Apache2) ]] MarcusSpiegel (2009-07-15) |
| |
| ===== PHP App Server ===== |
| |
| ==== mod_fcgid ==== |
| |
| [[http://httpd.apache.org/mod_fcgid|mod_fcgid]] is a high performance alternative to mod_cgi or mod_cgid, which starts a sufficient number instances of the CGI program to handle concurrent requests, and these programs remain running to handle further incoming requests. It is favored by the PHP developers, for example, as **a preferred alternative to running mod_php in-process, delivering very similar performance**.\\ |
| mod_fcgid was **created as a new FastCGI implementation**, and was granted to the ASF as an Apache HTTP Server subproject in 2009. |
| |
| The [[http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html|Apache Module mod_fcgid]] reference page. |
| |
| === Articles === |
| |
| * [[http://dotclear.placeoweb.com/post/mod_fcgid|PlaceOWeb partage son expérience]] sur mod_fcgid. |
| * [[http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html|Apache with fcgid: acceptable performance and better resource utilization]] |
| |
| ==== FastCGI et APC ==== |
| |
| [[http://www.magentocommerce.com/boards/viewthread/29264/|FastCGI + APC]] |
| |
| [[http://stackoverflow.com/questions/598444/how-to-share-apc-cache-between-several-php-processes-when-running-under-fastcgi|How to share APC cache between several PHP processes when running under FastCGI?]] |
| |
===== Tips ===== | ===== Tips ===== |
* [[http://httpd.apache.org/docs/2.0/vhosts/mass.html|Dynamically Configured Mass Virtual Hosting]] | * [[http://httpd.apache.org/docs/2.0/vhosts/mass.html|Dynamically Configured Mass Virtual Hosting]] |
* [[http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html|Apache Module mod_vhost_alias]] : This module creates dynamically configured virtual hosts, by allowing the IP address and/or the Host: header of the HTTP request to be used as part of the pathname to determine what files to serve. This allows for easy use of a huge number of virtual hosts with similar configurations. | * [[http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html|Apache Module mod_vhost_alias]] : This module creates dynamically configured virtual hosts, by allowing the IP address and/or the Host: header of the HTTP request to be used as part of the pathname to determine what files to serve. This allows for easy use of a huge number of virtual hosts with similar configurations. |
| |
| ====Upload progress==== |
| |
| Modules pour le reporting progressif d'un upload (upload progress): |
| * Extension PECL pour PHP : [[/informatique/php#php_uploadprogress|php_uploadprogress]] |
| * Entension HttpModule pour .Net : [[/informatique/dotnet#NeatUpload]] |
| * NGinx module : [[http://wiki.nginx.org/NginxHttpUploadProgressModule|NginxHttpUploadProgressModule]] |
| * Apache module : [[http://github.com/drogus/apache-upload-progress-module|apache-upload-progress-module]] |
| |