Hebergement

Vendredi, den 10. février 2012

output_buffering = Off output_handler = zlib.output_compression = On viaCompressing PHP Output « Newest Industry.

Tags: , ,

Category: Apache, Hebergement | Commentaires fermés
Mardi, den 10. janvier 2012

Multiple light-weight httpd server In search for a lightweight solution to run some php pages on my Debian diskless shellserver it appears there are several lightweight httpd daemons in Debian that can do php. I created some virtual machines on KVM to do some testing. Here follows a short howto to get the different httpd [...]

Tags: ,

Category: Debian, Hebergement, Lighttpd | Commentaires fermés
Mardi, den 13. décembre 2011

How To Save Traffic With Apache2′s mod_deflate Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 05/15/2006 In this tutorial I will describe how to install and configure mod_deflate on an Apache2 web server. mod_deflate allows Apache2 to compress files and deliver them to clients (e.g. browsers) that can handle compressed content [...]

Tags: ,

Category: Apache, Debian, Hebergement | Commentaires fermés
Mardi, den 22. novembre 2011

1. Installation des modules Apache Par défaut sous Debian le module deflate est enclenché, le module headers nous serviras dans le cadre d’environnement utilisant un proxy. On enclenche donc ces deux modules au niveau d’Apache, pour cela on lance une console SHH sur notre serveur et on lance les commandes suivantes : a2enmod deflate a2enmod [...]

Category: Apache, Debian, Hebergement | Commentaires fermés
Mardi, den 4. octobre 2011

Canonical URL is part of a problem for most blogs. Most people who concern about different versions of a URL that display the same content are likely worry about duplicate content issue. As we know, that is not good from the search engine standpoint. The solution is to www redirect — redirecting your blog from [...]

Tags: , , , , ,

Category: Apache, Hebergement, Lighttpd | Commentaires fermés
Lundi, den 19. septembre 2011

Change the default Apache character set By default, Red Hat Enterprise Linux 4 sets the default character set in Apache to UTF-8. Your specific web application may need for the character set to be set to a different value, and the change can be made fairly easily. Here’s an example where the character set is [...]

Tags: , , , , , , ,

Category: Apache, Hebergement | Commentaires fermés
Mercredi, den 17. août 2011

lighttpd + PHP-FPM on Debian Squeeze I’m not a super-BOFH but I do like to host my own blog (not this on, though) and play with stuff. In the past I used to use Apache, but I never liked the VirtualHosts configuration, specially when it gets big. Don’t get me wrong, I’m not saying its [...]

Tags: , , ,

Category: Debian, Hebergement, Lighttpd | Commentaires fermés
Dimanche, den 17. avril 2011

un tiot php pour les virer &lt;?php /** * Nettoire les fichiers * * @param string $name */ function nettoieFichier($name){ //ouvre le fichier $data = file_get_contents($name); $count = 0; $data = str_replace('eval(base64_decode(\'&lt;——EDIT——&gt;\'));','',$data,$count); if($count!=0){ echo ' Patched '; file_put_contents($name,$data);//ecrit le fichier } } /** * Parcours un repertoire * * @param string $repname */ function parcoursRep($repname){ $dir = opendir($repname); //lit le repertoire while (($file = readdir($dir)) !== false) { //Si c'est unfichier if(!is_dir($repname .'/'. $file)){ $extension1 = substr($file, -3, 3); $extension2 = substr(strrchr($file,'.'),1); //verifien si c'est une extension php if($extension1==$extension2){ if($extension1=='php'){ echo "Traitement du fichier : $repname/$file"; nettoieFichier($repname.'/'.$file); echo "\n&lt;br&gt;"; } } }else{//Si c'est un dossier if($file!=".." &amp;&amp; $file!='.'){ echo "Dir : $repname/$file \n&lt;br&gt;"; parcoursRep($repname .'/'. $file); } } } } $dir = '.';//répertoire courant parcoursRep($dir); ?&gt; un [...]

Tags: , , , , , , , , , , ,

Category: Hebergement | Commentaires fermés
Mardi, den 5. avril 2011

Je suis amené à réaliser régulièrement des audits de serveurs MySQL.Voici le premier volet d’une série d’articles où je vais essayer de vous donner quelques points clés pour mieux comprendre le fonctionnement de MySQL. La configuration du serveur est un des points que je regarde, et l’une des erreurs les plus courantes concerne le paramétrage [...]

Tags: , , , , , , , , , , , , , , , , , , ,

Category: Hebergement, mysql | Commentaires fermés
Mardi, den 5. avril 2011

Setting up a simple SSL configuration¶ Setting up a simple SSL configuration with Lighttpd is quite easy. Though this method should be used with care because this setup will only provide proper encryption, not authentication! The user will be presented with a query whether to accept the certificate or not! First, go into your SSL [...]

Tags: , , , , , , , , , , , , , ,

Category: Hebergement, Lighttpd | Commentaires fermés
« Vorherige Einträge