<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.geeek.org/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>Blog de Geeek, le blog geek par excellence par Ludovic Toinel ... - configuration</title>
  <link>http://www.geeek.org/</link>
  <description>Le blog d'un geek passionné par : l'informatique, le Web, Internet, les gadgets, la photo, la sécurité, Linux, la culture geek ...</description>
  <language>fr</language>
  <pubDate>Tue, 08 Jul 2008 19:16:11 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Dotclear 2 en mode PATH_INFO et Lighttpd 1.5</title>
    <link>http://www.geeek.org/post/2008/01/08/Dotclear-2-en-mode-PATH_INFO-et-Lighttpd-15</link>
    <guid isPermaLink="false">urn:md5:4b42326a803c524b8953878a8f0fbeec</guid>
    <pubDate>Tue, 08 Jan 2008 22:58:00 +0100</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>DotClear</category>
        <category>blog</category><category>configuration</category><category>internet</category><category>lighttpd</category><category>url</category><category>web</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://www.geeek.org/public/linux/light_logo.png&quot; alt=&quot;light_logo.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.geeek.org/post/2007/10/22/Configuration-du-mode-PATH_INFO-de-Dotclear-2-sur-Lighttpd&quot; hreflang=&quot;fr&quot;&gt;Lors de mon précédent article, j'ai présenté des règles d'URL
rewriting pour Lighttpd non complètes.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Les voici après améliorations :&lt;/strong&gt;&lt;/p&gt;
&lt;code class=&quot;sh&quot;&gt;$HTTP[&amp;quot;host&amp;quot;] =~ &amp;quot;^(www\.|)geeek\.org$&amp;quot; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.rewrite-once = (&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(admin)/(.*)$&amp;quot; =&amp;gt; &amp;quot;/$1/$2&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(xmlrpc)/(.*)$&amp;quot; =&amp;gt; &amp;quot;/index.php/$1/$2&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(sitemap.xml|urllist.txt)$&amp;quot; =&amp;gt; &amp;quot;/index.php/$1&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/([^\?]*)\.(.*)&amp;quot; =&amp;gt; &amp;quot;/$0&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(.*)$&amp;quot; =&amp;gt; &amp;quot;/index.php/$1&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;br /&gt;
}&lt;/code&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2008/01/08/Dotclear-2-en-mode-PATH_INFO-et-Lighttpd-15#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2008/01/08/Dotclear-2-en-mode-PATH_INFO-et-Lighttpd-15#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/1198</wfw:commentRss>
      </item>
    
  <item>
    <title>Configuration du mode PATH_INFO de Dotclear 2 sur Lighttpd 1.5</title>
    <link>http://www.geeek.org/post/2007/10/22/Configuration-du-mode-PATH_INFO-de-Dotclear-2-sur-Lighttpd</link>
    <guid isPermaLink="false">urn:md5:16b549365b44e5a055559911559deb72</guid>
    <pubDate>Mon, 22 Oct 2007 23:30:00 +0200</pubDate>
    <dc:creator>Ludovic Toinel</dc:creator>
        <category>DotClear</category>
        <category>blog</category><category>configuration</category><category>dotclear2</category><category>lighttpd</category>    
    <description>    &lt;p&gt;&lt;img src=&quot;http://www.geeek.org/public/linux/light_logo.png&quot; alt=&quot;light_logo.png&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Après avoir eu pas mal de problèmes à faire fonctionner Dotclear2 sur
Lighttpd en mode PATH_INFO voici en détail la configuration que j'utilise
actuellement sur mon serveur Web :&lt;/p&gt;
&lt;p&gt;La configuration Lighttpd permettant d'appeler le Fastcgi PHP pour
l'interprétation et l'exécution des pages PHP hébergées sur le serveur
Web :&lt;/p&gt;
&lt;code class=&quot;sh&quot;&gt;$PHYSICAL[&amp;quot;existing-path&amp;quot;] =~ &amp;quot;\.php$&amp;quot;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy-core.balancer = &amp;quot;round-robin&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy-core.allow-x-sendfile = &amp;quot;enable&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy-core.protocol = &amp;quot;fastcgi&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy-core.backends = ( &amp;quot;unix:/tmp/php-fastcgi.sock&amp;quot; )&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; proxy-core.max-pool-size = 16&lt;br /&gt;
}&lt;/code&gt;
&lt;p&gt;Voici les règles de réécriture des URL utilisées pour le mode PATH_INFO
Dotclear.&lt;/p&gt;
&lt;code class=&quot;sh&quot;&gt;$HTTP[&amp;quot;host&amp;quot;] =~ &amp;quot;^(www\.|)geeek\.org$&amp;quot; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.rewrite-once = (&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(admin)/(.*)$&amp;quot; =&amp;gt; &amp;quot;/$1/$2&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(xmlrpc)/(.*)$&amp;quot; =&amp;gt; &amp;quot;/index.php/$1/$2&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(sitemap.xml|urllist.txt)$&amp;quot; =&amp;gt; &amp;quot;/index.php/$1&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/([^\?]*)\.(.*)&amp;quot; =&amp;gt; &amp;quot;/$0&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;^/(.*)$&amp;quot; =&amp;gt; &amp;quot;/index.php/$1&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;br /&gt;
}&lt;/code&gt;
&lt;p&gt;__ Enfin, dans le fichier php.ini du module CGI (/etc/php/cgi-php5/php.ini)
une variable est à décommenter :&lt;/p&gt;
&lt;code class=&quot;sh&quot;&gt;cgi.fix_pathinfo=1&lt;/code&gt;
&lt;p&gt;Et biensûr dans Dotclear, sur la page de configuration du blog :&lt;/p&gt;
&lt;pre&gt;
Méthode de lecture de l'URL : PATH_INFO
URL du blog : http://www.geeek.org
&lt;/pre&gt;
&lt;p&gt;Je crois que je suis l'un des premiers à faire tourner Dotclear2 en mode
PATH_INFO sur Lighttpd 1.5. Je n'ai trouvé aucune documentation sur ce sujet
sur Internet pour le moment.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.geeek.org/post/2007/10/22/Configuration-du-mode-PATH_INFO-de-Dotclear-2-sur-Lighttpd#comment-form</comments>
      <wfw:comment>http://www.geeek.org/post/2007/10/22/Configuration-du-mode-PATH_INFO-de-Dotclear-2-sur-Lighttpd#comment-form</wfw:comment>
      <wfw:commentRss>http://www.geeek.org/feed/rss2/comments/1037</wfw:commentRss>
      </item>
    
</channel>
</rss>