<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.grumpf.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Grumpf - Tag - web 2.0</title>
  <link>http://www.grumpf.net/</link>
  <description>Aux frontières d'URL</description>
  <language>fr</language>
  <pubDate>Mon, 18 Aug 2008 20:38:22 +0200</pubDate>
  <copyright>&amp;copy; Grumpf, Pierre Grasswill</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>dotclear 2.0rc1</title>
    <link>http://www.grumpf.net/post/2008/05/01/dotclear-20rc1</link>
    <guid isPermaLink="false">urn:md5:457f51e630aaf74a7ec1ac170c36b52d</guid>
    <pubDate>Thu, 01 May 2008 11:37:00 +0200</pubDate>
    <dc:creator>Grumpf</dc:creator>
        <category>web2.0</category>
        <category>dotclear2</category><category>web 2.0</category>    
    <description>    &lt;p&gt;et paf me vla en &lt;a href=&quot;http://www.dotclear.net/blog/post/2008/05/01/Dotclear-20-RC1&quot; hreflang=&quot;fr&quot;&gt;rc1!&lt;/a&gt; merci &lt;a href=&quot;http://www.dotclear.net/&quot; hreflang=&quot;fr&quot;&gt;dotclear&lt;/a&gt;&lt;br /&gt;
dans les nouveautés 'directes' la gestion des tag sur un nouveau billet, avec la possibilité de choisir dans la liste des tags existant, en un mot génial:)!&lt;br /&gt;
l'aide en dessous de l'édition du billet... ça peux aider j'en suis sur&amp;nbsp;!&lt;/p&gt;</description>
    
    
    
          <comments>http://www.grumpf.net/post/2008/05/01/dotclear-20rc1#comment-form</comments>
      <wfw:comment>http://www.grumpf.net/post/2008/05/01/dotclear-20rc1#comment-form</wfw:comment>
      <wfw:commentRss>http://www.grumpf.net/feed/rss2/comments/53</wfw:commentRss>
      </item>
    
  <item>
    <title>un mod apache bien pratique quand utilise mod_proxy en reverse</title>
    <link>http://www.grumpf.net/post/2007/09/21/un-mod-apache-bien-pratique-quand-utilise-mod_proxy-en-reverse</link>
    <guid isPermaLink="false">urn:md5:5fb0c19a44c855b42d3843b746f3690e</guid>
    <pubDate>Fri, 21 Sep 2007 17:18:00 +0200</pubDate>
    <dc:creator>Grumpf</dc:creator>
        <category>geekage</category>
        <category>apache</category><category>linux</category><category>proxy</category><category>vhosts</category><category>web 2.0</category>    
    <description>    &lt;p&gt;pénible de ne voir que l'ip du proxy sur les backend? oui pas simple de faire de la restriction IP du coup&lt;br /&gt;
un vieux mod apache existe &lt;a href=&quot;http://stderr.net/apache/rpaf/&quot;&gt;mod_rpaf&lt;/a&gt; l'installation est simple et l'utilisation encore plus&lt;/p&gt;


&lt;p&gt;télécharger la &lt;a href=&quot;http://stderr.net/apache/rpaf/download/&quot;&gt;source&lt;/a&gt; prendre la derniere
compile classique a la make &amp;amp; make install il faut juste modifier le Makefile pour indiquer l'emplacement d'axps2 &lt;br /&gt;
puis configurer apache&lt;/p&gt;
&lt;pre&gt;
  # Charger le module
  LoadModule rpaf_module libexec/apache2/mod_rpaf-2.0.so

  RPAFenable On
  RPAFsethostname On
  RPAFproxy_ips 192.168.0.1
&lt;/pre&gt;

&lt;p&gt;il faut indiquer l'ip du proxy pour que mod_rpaf change l'ip source&lt;br /&gt;
notons bien la différence entre avant &amp;amp; apres la mise en place:&lt;/p&gt;
&lt;pre&gt;
  192.168.0.1 - - [21/Sep/2007:16:32:32 +0200] &amp;quot;GET / HTTP/1.1&amp;quot; 304 -
  195.115.A.C - - [21/Sep/2007:16:44:25 +0200] &amp;quot;GET / HTTP/1.1&amp;quot; 304 -
&lt;/pre&gt;

&lt;p&gt;merci rpaf&lt;/p&gt;</description>
    
    
    
          <comments>http://www.grumpf.net/post/2007/09/21/un-mod-apache-bien-pratique-quand-utilise-mod_proxy-en-reverse#comment-form</comments>
      <wfw:comment>http://www.grumpf.net/post/2007/09/21/un-mod-apache-bien-pratique-quand-utilise-mod_proxy-en-reverse#comment-form</wfw:comment>
      <wfw:commentRss>http://www.grumpf.net/feed/rss2/comments/27</wfw:commentRss>
      </item>
    
  <item>
    <title>porn first on the oueb?</title>
    <link>http://www.grumpf.net/post/2007/09/20/porn-first-on-the-oueb</link>
    <guid isPermaLink="false">urn:md5:26a53c0d6c68ab29fb5f9496c2559dae</guid>
    <pubDate>Thu, 20 Sep 2007 12:27:00 +0200</pubDate>
    <dc:creator>Grumpf</dc:creator>
        <category>grumpf</category>
        <category>porn</category><category>web 2.0</category>    
    <description>    &lt;p&gt;internet is for porn disait une vieille vidéo de wow&lt;br /&gt;
je ne peux m'empecher de montrer &lt;a href=&quot;http://www.youtube.com/watch?v=QOFTQpNhsWE&quot;&gt;cette video&lt;/a&gt; que j'ai trouvé &lt;a href=&quot;http://www.killian-ebel.fr/blog-experiences-webmaster/web-domine-pornographie/108.html&quot;&gt;ici&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.grumpf.net/post/2007/09/20/porn-first-on-the-oueb#comment-form</comments>
      <wfw:comment>http://www.grumpf.net/post/2007/09/20/porn-first-on-the-oueb#comment-form</wfw:comment>
      <wfw:commentRss>http://www.grumpf.net/feed/rss2/comments/26</wfw:commentRss>
      </item>
    
  <item>
    <title>How To Save Bandwith?</title>
    <link>http://www.grumpf.net/post/2007/09/16/How-To-Save-Bandwith</link>
    <guid isPermaLink="false">urn:md5:3eb49bc080b1e5dd1d035753777bbf45</guid>
    <pubDate>Sun, 16 Sep 2007 19:42:00 +0200</pubDate>
    <dc:creator>Grumpf</dc:creator>
        <category>geekage</category>
        <category>apache</category><category>compression</category><category>linux</category><category>proxy</category><category>web 2.0</category>    
    <description>&lt;p&gt;''Comment économiser la BP (bande passante)?&quot;&lt;br /&gt;
en compressant le flux HTTP d'apache, activons donc le &quot;mod_deflate&quot;.&lt;/p&gt;    &lt;p&gt;il suffit d'éditer le fichier de config d'apache &lt;em&gt;(voir la doc en fct des distribs)&lt;/em&gt;&lt;br /&gt;
sur ma gentoo avec apache 2.2 le fichier est situé dans /etc/apache2/modules.d/00_default_settings.conf&lt;br /&gt;&lt;/p&gt;

&lt;pre&gt; AddOutputFilterByType DEFLATE text/html text/plain text/xml
 BrowserMatch ^Mozilla/4 gzip-only-text/html
 BrowserMatch ^Mozilla/4\.0&lt;a href=&quot;http://www.grumpf.net/post/2007/09/16/678&quot; title=&quot;678&quot;&gt;678&lt;/a&gt; no-gzip
 BrowserMatch \bMSI&lt;a href=&quot;http://www.grumpf.net/post/2007/09/16/E&quot; title=&quot;E&quot;&gt;E&lt;/a&gt; !no-gzip !gzip-only-text/html
 Header append Vary User-Agent env=!dont-vary&lt;/pre&gt;


&lt;p&gt;cela sort de la doc Apache biensur. Regardons ce que chaque ligne fait:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AddOutputFilterByType ..., cette ligne active la compression mod_deflate pour les 3 content types suivant text/html, text/plain et text/xml. ça évite de compresser les doc, images, et fichier multimédia lorsqu'ils sont demandés.&lt;/li&gt;
&lt;li&gt;BrowserMatch ..., ces trois lignes empêche mod_deflate d'envoyé du contenu compressé à quelques buttineurs dont on sait qu'ils n'acceptent pas la compression.&lt;/li&gt;
&lt;li&gt;Header append ..., cette ligne fait que la compression et les proxys vont fonctionner ensemble sans problèmes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Apres Avoir ajouté ces lignes il ne reste plus qu'a redémarrer Apache. &lt;br /&gt;&lt;/p&gt;


&lt;p&gt;pour tester la compression &lt;em&gt;(avant &amp;amp; après)&lt;/em&gt; il y a ce genre de site&amp;nbsp;: &lt;a href=&quot;http://www.whatsmyip.org/mod_gzip_test/&quot; title=&quot;http://www.whatsmyip.org/mod_gzip_test/&quot;&gt;http://www.whatsmyip.org/mod_gzip_t...&lt;/a&gt;
ou telnet &lt;img src=&quot;/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt; ouvrir la connexion puis tapper &quot;HEAD / HTTP1.1&quot; puis deux fois Entrée
résultat sans compression&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
 telnet A.B.C.D 80
 Trying A.B.C.D...
 Connected to tarhu.
 Escape character is '^]'.
 HEAD / HTTP1.1
 
 HTTP/1.1 200 OK
 Date: Sun, 16 Sep 2007 17:34:12 GMT
 Server: Apache
 Last-Modified: Sun, 01 Jul 2007 01:24:36 GMT
 ETag: &amp;quot;74288-1df-93463d00&amp;quot;
 Accept-Ranges: bytes
 Content-Length: 479
 Connection: close
 Content-Type: text/html
 &lt;/pre&gt;

&lt;p&gt;résultat avec compression&amp;nbsp;:&lt;/p&gt;
&lt;pre&gt;
 telnet A.B.C.D 80
 Trying A.B.C.D...
 Connected to tarhu.
 Escape character is '^]'.
 HEAD / HTTP1.1
 
 HTTP/1.1 200 OK
 Date: Sun, 16 Sep 2007 17:32:00 GMT
 Server: Apache
 Last-Modified: Sun, 01 Jul 2007 01:24:36 GMT
 ETag: &amp;quot;74288-1df-93463d00&amp;quot;
 Accept-Ranges: bytes
 Content-Length: 479
 Vary: Accept-Encoding,User-Agent &amp;lt;&amp;lt;---
 Connection: close
 Content-Type: text/html
&lt;/pre&gt;


&lt;p&gt;Avec ab (benchmark apache) on vois facilement la différence également sans:&lt;br /&gt;
ab -n 1 -v 4 &quot;http://host.dom.tld/dossier/&quot;&lt;/p&gt;

&lt;pre&gt; HTML transferred:       33164 bytes&lt;/pre&gt;

&lt;p&gt;avec, ab -n 1 -v 4 -H &quot;Accept-Encoding: gzip,deflate&quot; &quot;http://host.dom.tld/dossier/&quot;&lt;br /&gt;&lt;/p&gt;

&lt;pre&gt; HTML transferred:       5760 bytes&lt;/pre&gt;


&lt;p&gt;la compression utilise du temps CPU , donc une fois la compression activé surveillez votre proc.&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;j'ai activé la compression comme cela dans la conf de la VM proxy cela compressera tout les flux HTTP de toutes les VM.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.grumpf.net/post/2007/09/16/How-To-Save-Bandwith#comment-form</comments>
      <wfw:comment>http://www.grumpf.net/post/2007/09/16/How-To-Save-Bandwith#comment-form</wfw:comment>
      <wfw:commentRss>http://www.grumpf.net/feed/rss2/comments/17</wfw:commentRss>
      </item>
    
</channel>
</rss>