<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.skateinmars.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>Skate in Mars - serveur</title>
  <link>http://blog.skateinmars.net/</link>
  <description>Un blog sur mes passions, et un peu sur moi-même...</description>
  <language>fr</language>
  <pubDate>Tue, 13 May 2008 15:29:45 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Dis vert !</title>
    <link>http://blog.skateinmars.net/post/2008/02/08/Dis-vert</link>
    <guid isPermaLink="false">urn:md5:ee25da773e919404ca32f9d645a65cbc</guid>
    <pubDate>Fri, 08 Feb 2008 15:40:00 +0100</pubDate>
    <dc:creator>Jean-Philippe</dc:creator>
        <category>Divers</category>
        <category>divers</category><category>liens</category><category>serveur</category><category>web</category>    
    <description>    Bon voila, j'ai plein d'idées de billet hyper interressants, mais aucune motive, donc je vais faire un petit billet de lien pour donner l'illusion que ce blog est encore actif.&lt;br /&gt;Hop hop trève de discussions :&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Des mises à jour plus ou moins en retard : &lt;a hreflang=&quot;en&quot; href=&quot;http://prototypejs.org/2008/1/25/prototype-1-6-0-2-bug-fixes-performance-improvements-and-security&quot;&gt;prototype 1.6.0.2&lt;/a&gt;, l'&lt;a hreflang=&quot;en&quot; href=&quot;http://acid3.acidtests.org/&quot;&gt;Acid Test 3&lt;/a&gt;, &lt;a hreflang=&quot;en&quot; href=&quot;http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/&quot;&gt;la reset.css de Eric Meyer&lt;/a&gt; et &lt;a hreflang=&quot;en&quot; href=&quot;http://geany.uvena.de/Main/20080205&quot;&gt;Geany 0.13&lt;/a&gt; \o/ (la trad fr n'a pas été incluse dans le targz releasé, mais vous pouvez récuperer le .po depuis le svp, et non c'est pas ma faute &lt;img src=&quot;/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt; )&lt;/li&gt;
&lt;li&gt;Le &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.badusability.com/&quot;&gt;Calendrier 2008 de la mauvaise utilisabilité&lt;/a&gt;. Marrant (20 secondes), mais il y a de vrais conseils dedans. Bon, par contre ce sont des conseils que tout le monde connait déjà, et on explique ni les causes ni les solutions...&lt;/li&gt;
&lt;li&gt;En parlant de releases, tiens, ou en est Dotclear ? &lt;a hreflang=&quot;fr&quot; href=&quot;http://callmepep.org/blog/post/2008/01/28/Dotclearnet-et-DotAddictorg-sont-dans-un-bateau&quot;&gt;Ca discute&lt;/a&gt;, ca se raconte des histoires et &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.kozlika.org/kozeries/post/2008/01/28/Cest-encore-Anne-qui-a-les-mots&quot;&gt;chante des chansons&lt;/a&gt; entre eux, cool. Ca créé &lt;a hreflang=&quot;fr&quot; href=&quot;http://dotaddict.org/&quot;&gt;un site dédié aux thèmes et plugins&lt;/a&gt;, super ! On peut avoir une version stable maintenant ? Une date de sortie, une vraie roadmap ? &lt;em&gt;Release early, release often&lt;/em&gt; qu'ils disaient...&lt;/li&gt;
&lt;li&gt;De quoi regarder le soir au coin du feu (ou du micro ondes, sale étudiant pauvre !) : &lt;a hreflang=&quot;en&quot; href=&quot;http://chaosradio.ccc.de/camp2007_m4v.html&quot;&gt;Les confs du CCC 2007&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Un gros tas de howtos chez Slicehost : &lt;a hreflang=&quot;en&quot; href=&quot;http://articles.slicehost.com/&quot;&gt;http://articles.slicehost.com/&lt;/a&gt;. Bien sur comme dans toute liste de liens, il y en aura peut-être aucun qui vous servira (hum, je dis ca dans une liste de liens moi ?)&lt;/li&gt;
&lt;/ul&gt;
Voila, si vous vous attendiez à plus d'explications, bah, tant pis.&lt;br /&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>phpMyAdmin and HTTPS on nginx</title>
    <link>http://blog.skateinmars.net/post/2007/11/01/phpMyAdmin-and-HTTPS-on-nginx</link>
    <guid isPermaLink="false">urn:md5:1b2ac899946761bfbf72f0cdab9f1956</guid>
    <pubDate>Thu, 01 Nov 2007 12:29:00 +0100</pubDate>
    <dc:creator>Jean-Philippe</dc:creator>
        <category>nginx</category><category>php</category><category>serveur</category>    
    <description>    &lt;p&gt;Okay, this is just a really small post to resurrect the blog, but this could be useful as I lost some time looking for an answer to that problem, and that's why I'll write this one in english &lt;img src=&quot;/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;If you're trying to set up a phpMyAdmin with nginx and an SSL vhost and fastcgi, you should have seen an issue with the urls produced by phpMyAdmin.&lt;/p&gt;
&lt;p&gt;phpMyAdmin does not detect that the pages are served through an HTTPS connection and only detect the used port. It will result in urls like &quot;http://phpmyadmin.mydomain.com:443/&quot;&lt;/p&gt;
&lt;p&gt;Trying to follow theses urls will result with nginx sending a 400 error like &quot;The plain HTTP request was sent to HTTPS port&quot;&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;I tried to dig in the code to see how phpMyAdmin was doing to detect HTTPS setups, and one of the few ways was looking for a $_SERVER['HTTPS'] variable set to 'on'. But in fact I didn't have to look for this as alxkbs already provided the (quite simple) solution on his russian blog : &lt;a hreflang=&quot;ru&quot; href=&quot;http://alexkbs.livejournal.com/208480.html&quot;&gt;http://alexkbs.livejournal.com/208480.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, to have working HTTPS setup, you only have to add to snippet in your nginx vhost with your other fastcgi parameters :&lt;/p&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;fastcgi_param HTTPS     on;&lt;/code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;phpMyAdmin will then properly detect the SSL setup and produce clean, working urls.&lt;br /&gt;&lt;br /&gt;Hope this can save some time for people running into the same problem !&lt;br /&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Setup CodeIgniter on Nginx server with fastcgi</title>
    <link>http://blog.skateinmars.net/post/2007/09/03/Setup-CodeIgniter-on-Nginx-server-with-fastcgi</link>
    <guid isPermaLink="false">urn:md5:5f8b3d73eefead767583ec761442ea89</guid>
    <pubDate>Mon, 03 Sep 2007 15:26:00 +0200</pubDate>
    <dc:creator>Jean-Philippe</dc:creator>
        <category>codeigniter</category><category>nginx</category><category>serveur</category>    
    <description>    &lt;p&gt;(Yes, I decided to write a post in english, as this might be useful for a lot of people).&lt;/p&gt;
&lt;p&gt;Today I lost some time trying to set up code igniter with fastcgi and an nginx server. Google wasn't really helpful but I found a part of the answer on &lt;a hreflang=&quot;en&quot; href=&quot;http://codeigniter.com/forums/viewthread/58764/&quot;&gt;this thread&lt;/a&gt; in the ci forums but I had to dig through the nginx and ci config files. Here is what I have finally done to make this work.&lt;/p&gt;
First you have to set up a rewrite rule if you want ci's nice urls (example.com/controller/method/param). I assume you use different vhost files with a specific server directive in each. So, in your nginx config file, configure your server_name, logs, and listen directives as usual, then use this for the / location :&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; location /&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; index index.php;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp; /path/to/your/ci/directory;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($request_filename !~ (js|css|images|robots\.txt|index\.php.*) ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rewrite ^/(.*)$ /index.php/$1 last;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; }&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Replace the root param with your web directory, which will contain your static files. You can modify the $request_filename regexp to exclude files and directories (if you have a files/ directory for example) from the rewrite.&lt;br /&gt;Note the ^/ in the regexp part from the rewrite, this will avoid getting urls like /index.php//method. I don't know if this is mandatory as the user won't see this rewrite.&lt;br /&gt;&lt;br /&gt;Then, add this :&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; location ~ /index.php/&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include /usr/local/nginx/conf/fastcgi.conf;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_index&amp;nbsp; index.php;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_param&amp;nbsp; SCRIPT_FILENAME&amp;nbsp; /path/to/your/index.php;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_param&amp;nbsp; REQUEST_URI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $request_uri;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_param&amp;nbsp; QUERY_STRING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $query_string;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_param&amp;nbsp; REQUEST_METHOD&amp;nbsp;&amp;nbsp; $request_method;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_param&amp;nbsp; CONTENT_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $content_type;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_param&amp;nbsp; CONTENT_LENGTH&amp;nbsp;&amp;nbsp; $content_length;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fastcgi_pass&amp;nbsp;&amp;nbsp; 127.0.0.1:9000;&lt;br /&gt;&amp;nbsp; }&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This will redirect queries to /index.php/* to your fastcgi thread. I had to use the location directive because nginx doesn't allow to change fastcgi_params within a rewrite directive.&lt;br /&gt;Some fastcgi_params could not be necessary for you depending on your fastcgi.conf. Of course you have to adapt the include and fastcgi_pass directives for your setup. This website : &lt;a hreflang=&quot;en&quot; href=&quot;http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/&quot;&gt;http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/&lt;/a&gt; will provide additional informations on php+fastcgi if you need. You can also see the nginx documentation.&lt;br /&gt;Note that the SCRIPT_FILENAME parameter points directly to your index.php file, not to $fastcgi_script_name as usual.&lt;br /&gt;&lt;br /&gt;You can now test this setup, which should work... Err, not really. You can see your default controller but your queries to other methods arn't working. CI does not see your request, so you'll have to change his configuration.&lt;br /&gt;&lt;br /&gt;Edit the (system/)application/config/config.php file and look for the $config['uri_protocol'] config option. Change it to :&lt;br /&gt;$config['uri_protocol']&amp;nbsp; = &quot;REQUEST_URI&quot;;&lt;br /&gt;Now CI can retrieve the full URI and your application should work fine.&lt;br /&gt;&lt;br /&gt;I hope this can be useful for someone &lt;img src=&quot;/themes/default/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;&lt;br /&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>