<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lesbazeilles.com &#187; drupal</title>
	<atom:link href="http://www.lesbazeilles.com/tag/drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lesbazeilles.com</link>
	<description>Drupal et autres joyeusetés</description>
	<lastBuildDate>Mon, 30 May 2011 15:41:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Drupal 7 sur Online et les erreurs 500</title>
		<link>http://www.lesbazeilles.com/2010/12/drupal-7-sur-online-et-les-erreurs-500/</link>
		<comments>http://www.lesbazeilles.com/2010/12/drupal-7-sur-online-et-les-erreurs-500/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 09:38:21 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drupal7]]></category>
		<category><![CDATA[Online]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=275</guid>
		<description><![CDATA[Hello gens, Drupal 7 vient de sortir en RC  (RC = release candidate, cela veut dire que c&#8217;est finalisé mais on lance un pré-version pour les  tests les dernières minutes) Téléchargement sur drupal.org La traduction est sur le serveur de traduction ( renommer le fichier de la traduction en fr.po et placez le dans le [...]]]></description>
			<content:encoded><![CDATA[<p>Hello gens,</p>
<p>Drupal 7 vient de sortir en RC  (RC = release candidate, cela veut dire que c&#8217;est finalisé mais on lance un pré-version pour les  tests les dernières minutes)</p>
<p>Téléchargement sur <a href="http://drupal.org/project/drupal">drupal.org</a><br />
La traduction est  sur<a href="http://localize.drupal.org/translate/downloads"> le serveur de traduction </a>( renommer le fichier de la traduction en fr.po et placez le dans le répertoire  /profiles/standard/translations)</p>
<p>Évidement Online va nous poser des problèmes avec les  .htaccess<br />
J&#8217;ai fait des articles pour installer<a href="http://www.lesbazeilles.com/2010/04/installer-drupal-sur-online-nouveau-fichier-htaccess-suite-a-la-mise-a-jour-vers-la-version-6-16/"> Drupal 6 sur online</a> , je ne vais pas re-expliquer ici <a href="http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online/">tout les problème que cela pose</a>, mais pour résumer Online a déactivé des directives dans Apache, ce qui peut poser des erreurs avec Drupal.</p>
<p>voici mon fichier .htaccess pour Drupal 7  :<br />
<span id="more-275"></span></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p275code2'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2752"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
</pre></td><td class="code" id="p275code2"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">#</span>
<span style="color: #adadad; font-style: italic;"># Apache/PHP/Drupal settings:</span>
<span style="color: #adadad; font-style: italic;">#</span>
<span style="color: #adadad; font-style: italic;">#Ajout de PHP5 pour les serveurs Online.net</span>
<span style="color: #adadad; font-style: italic;">#important</span>
<span style="color: #adadad; font-style: italic;">#PHP5</span>
<span style="color: #00007f;">AddType</span> application/x-httpd-php5 .php
&nbsp;
<span style="color: #adadad; font-style: italic;"># Protect files and directories from prying eyes.</span>
&lt;<span style="color: #000000; font-weight:bold;">FilesMatch</span> <span style="color: #7f007f;">&quot;<span style="color: #000099; font-weight: bold;">\.</span>(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(<span style="color: #000099; font-weight: bold;">\.</span>php)?|xtmpl)$|^(<span style="color: #000099; font-weight: bold;">\.</span>.*|Entries.*|Repository|Root|Tag|Template)$&quot;</span>&gt;
  <span style="color: #00007f;">Order</span> <span style="color: #00007f;">allow</span>,<span style="color: #00007f;">deny</span>
&lt;/<span style="color: #000000; font-weight:bold;">FilesMatch</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Don't show directory listings for URLs which map to a directory.</span>
<span style="color: #adadad; font-style: italic;"># Directive non supporté par Online.net</span>
<span style="color: #adadad; font-style: italic;"># Options -Indexes</span>
<span style="color: #00007f;">IndexOptions</span> -<span style="color: #0000ff;">Indexes</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Follow symbolic links in this directory.</span>
<span style="color: #adadad; font-style: italic;"># Directive non supporté par Online.net</span>
<span style="color: #adadad; font-style: italic;">#Options +FollowSymLinks</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Multiviews creates problems with aliased URLs and is not needed for Drupal.</span>
<span style="color: #adadad; font-style: italic;"># Directive non supporté par Online.net</span>
<span style="color: #adadad; font-style: italic;"># Options -Multiviews</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Make Drupal handle any 404 errors.</span>
<span style="color: #00007f;">ErrorDocument</span> <span style="color: #ff0000;">404</span> /index.php
&nbsp;
<span style="color: #adadad; font-style: italic;"># Force simple error message for requests for non-existent favicon.ico.</span>
&lt;<span style="color: #000000; font-weight:bold;">Files</span> favicon.ico&gt;
  <span style="color: #adadad; font-style: italic;"># There is no end quote below, for compatibility with Apache 1.3.</span>
  <span style="color: #00007f;">ErrorDocument</span> <span style="color: #ff0000;">404</span> <span style="color: #7f007f;">&quot;The requested file favicon.ico was not found.&quot;</span>
&lt;/<span style="color: #000000; font-weight:bold;">Files</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Set the default handler.</span>
<span style="color: #00007f;">DirectoryIndex</span> index.php index.html index.htm
&nbsp;
<span style="color: #adadad; font-style: italic;"># Override PHP settings that cannot be changed at runtime. See</span>
<span style="color: #adadad; font-style: italic;"># sites/default/default.settings.php and drupal_initialize_variables() in</span>
<span style="color: #adadad; font-style: italic;"># includes/bootstrap.inc for settings that can be changed at runtime.</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 5, Apache 1 and 2.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_php5.c&gt;
  <span style="color: #00007f;">php_flag</span> magic_quotes_gpc                 <span style="color: #0000ff;">off</span>
  <span style="color: #00007f;">php_flag</span> magic_quotes_sybase              <span style="color: #0000ff;">off</span>
  <span style="color: #00007f;">php_flag</span> register_globals                 <span style="color: #0000ff;">off</span>
  <span style="color: #00007f;">php_flag</span> session.auto_start               <span style="color: #0000ff;">off</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_flag</span> mbstring.encoding_translation    <span style="color: #0000ff;">off</span>
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Requires mod_expires to be enabled.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_expires.c&gt;
  <span style="color: #adadad; font-style: italic;"># Enable expirations.</span>
  <span style="color: #00007f;">ExpiresActive</span> <span style="color: #0000ff;">On</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Cache all files for 2 weeks after access (A).</span>
  <span style="color: #00007f;">ExpiresDefault</span> A1209600
&nbsp;
  &lt;<span style="color: #000000; font-weight:bold;">FilesMatch</span> \.php$&gt;
    <span style="color: #adadad; font-style: italic;"># Do not allow PHP scripts to be cached unless they explicitly send cache</span>
    <span style="color: #adadad; font-style: italic;"># headers themselves. Otherwise all scripts would have to overwrite the</span>
    <span style="color: #adadad; font-style: italic;"># headers set by mod_expires if they want another caching behavior. This may</span>
    <span style="color: #adadad; font-style: italic;"># fail if an error occurs early in the bootstrap process, and it may cause</span>
    <span style="color: #adadad; font-style: italic;"># problems if a non-Drupal PHP file is installed in a subdirectory.</span>
    <span style="color: #00007f;">ExpiresActive</span> <span style="color: #0000ff;">Off</span>
  &lt;/<span style="color: #000000; font-weight:bold;">FilesMatch</span>&gt;
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Various rewrite rules.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_rewrite.c&gt;
  <span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">on</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Block access to &quot;hidden&quot; directories whose names begin with a period. This</span>
  <span style="color: #adadad; font-style: italic;"># includes directories used by version control systems such as Subversion or</span>
  <span style="color: #adadad; font-style: italic;"># Git to store control files. Files whose names begin with a period, as well</span>
  <span style="color: #adadad; font-style: italic;"># as the control files used by CVS, are protected by the FilesMatch directive</span>
  <span style="color: #adadad; font-style: italic;"># above.</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># NOTE: This only works when mod_rewrite is loaded. Without mod_rewrite, it is</span>
  <span style="color: #adadad; font-style: italic;"># not possible to block access to entire directories from .htaccess, because</span>
  <span style="color: #adadad; font-style: italic;"># &lt;DirectoryMatch&gt; is not allowed here.</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># If you do not have mod_rewrite installed, you should remove these</span>
  <span style="color: #adadad; font-style: italic;"># directories from your webroot or otherwise protect them from being</span>
  <span style="color: #adadad; font-style: italic;"># downloaded.</span>
  <span style="color: #00007f;">RewriteRule</span> <span style="color: #7f007f;">&quot;(^|/)<span style="color: #000099; font-weight: bold;">\.</span>&quot;</span> - [F]
&nbsp;
  <span style="color: #adadad; font-style: italic;"># If your site can be accessed both with and without the 'www.' prefix, you</span>
  <span style="color: #adadad; font-style: italic;"># can use one of the following settings to redirect users to your preferred</span>
  <span style="color: #adadad; font-style: italic;"># URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># To redirect all users to access the site WITH the 'www.' prefix,</span>
  <span style="color: #adadad; font-style: italic;"># (http://example.com/... will be redirected to http://www.example.com/...)</span>
  <span style="color: #adadad; font-style: italic;"># uncomment the following:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteCond %{HTTP_HOST} !^www\. [NC]</span>
  <span style="color: #adadad; font-style: italic;"># RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># To redirect all users to access the site WITHOUT the 'www.' prefix,</span>
  <span style="color: #adadad; font-style: italic;"># (http://www.example.com/... will be redirected to http://example.com/...)</span>
  <span style="color: #adadad; font-style: italic;"># uncomment the following:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]</span>
  <span style="color: #adadad; font-style: italic;"># RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Modify the RewriteBase if you are using Drupal in a subdirectory or in a</span>
  <span style="color: #adadad; font-style: italic;"># VirtualDocumentRoot and the rewrite rules are not working properly.</span>
  <span style="color: #adadad; font-style: italic;"># For example if your site is at http://example.com/drupal uncomment and</span>
  <span style="color: #adadad; font-style: italic;"># modify the following line:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteBase /drupal</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># If your site is running in a VirtualDocumentRoot at http://example.com/,</span>
  <span style="color: #adadad; font-style: italic;"># uncomment the following line:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteBase /</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Pass all requests not referring directly to files in the filesystem to</span>
  <span style="color: #adadad; font-style: italic;"># index.php. Clean URLs are handled in drupal_environment_initialize().</span>
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-f
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-d
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_URI} !=/favicon.ico
  <span style="color: #00007f;">RewriteRule</span> ^ index.php [L]
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Rules to correctly serve gzip compressed CSS and JS files.</span>
  <span style="color: #adadad; font-style: italic;"># Requires both mod_rewrite and mod_headers to be enabled.</span>
  &lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_headers.c&gt;
    <span style="color: #adadad; font-style: italic;"># Serve gzip compressed CSS files if they exist and the client accepts gzip.</span>
    <span style="color: #00007f;">RewriteCond</span> %{HTTP:Accept-encoding} gzip
    <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME}\.gz -s
    <span style="color: #00007f;">RewriteRule</span> ^(.*)\.css $<span style="color: #ff0000;">1</span>\.css\.gz [QSA]
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Serve gzip compressed JS files if they exist and the client accepts gzip.</span>
    <span style="color: #00007f;">RewriteCond</span> %{HTTP:Accept-encoding} gzip
    <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME}\.gz -s
    <span style="color: #00007f;">RewriteRule</span> ^(.*)\.js $<span style="color: #ff0000;">1</span>\.js\.gz [QSA]
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Serve correct content types, and prevent mod_deflate double gzip.</span>
    <span style="color: #00007f;">RewriteRule</span> \.css\.gz$ - [T=text/css,E=no-gzip:<span style="color: #ff0000;">1</span>]
    <span style="color: #00007f;">RewriteRule</span> \.js\.gz$ - [T=text/javascript,E=no-gzip:<span style="color: #ff0000;">1</span>]
&nbsp;
    &lt;<span style="color: #000000; font-weight:bold;">FilesMatch</span> <span style="color: #7f007f;">&quot;(<span style="color: #000099; font-weight: bold;">\.</span>js<span style="color: #000099; font-weight: bold;">\.</span>gz|<span style="color: #000099; font-weight: bold;">\.</span>css<span style="color: #000099; font-weight: bold;">\.</span>gz)$&quot;</span>&gt;
      <span style="color: #adadad; font-style: italic;"># Serve correct encoding type.</span>
      <span style="color: #00007f;">Header</span> append Content-Encoding gzip
      <span style="color: #adadad; font-style: italic;"># Force proxies to cache gzipped &amp; non-gzipped css/js files separately.</span>
      <span style="color: #00007f;">Header</span> append Vary Accept-Encoding
    &lt;/<span style="color: #000000; font-weight:bold;">FilesMatch</span>&gt;
  &lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># $Id: .htaccess,v 1.111 2010/11/23 02:59:05 dries Exp $</span></pre></td></tr></table></div>

<p>Ps : j&#8217;ai eu des pb à l&#8217;installation : au moment de  l&#8217;installation des traductions, le process s&#8217;est arrêté, un petit F5 et c&#8217;est reparti</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2010/12/drupal-7-sur-online-et-les-erreurs-500/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google décide de mieux classer les pages rapides</title>
		<link>http://www.lesbazeilles.com/2010/04/google-decide-de-mieux-classer-les-pages-rapides/</link>
		<comments>http://www.lesbazeilles.com/2010/04/google-decide-de-mieux-classer-les-pages-rapides/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 14:13:54 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=263</guid>
		<description><![CDATA[vu sur le blog officiel de google : Using site speed in web search ranking : Google favorise  les pages internet qui s&#8217;affichent rapidement.(ie : plus votre page est rapide, mieux votre pageRank se portera) Cela ne concerne actuellement que google.com et moins de 1% des requêtes . Jetez un coup d&#8217;œil au slider ci-dessous [...]]]></description>
			<content:encoded><![CDATA[<p>vu sur le blog officiel de google : <a href="http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html" target="_blank">Using site speed in web search ranking</a> :</p>
<p>Google favorise  les pages internet qui s&#8217;affichent rapidement.(ie : plus votre page est rapide, mieux votre pageRank se portera)</p>
<p>Cela ne concerne actuellement que google.com et moins de 1% des requêtes . <span id="more-263"></span></p>
<p>Jetez un coup d&#8217;œil au slider ci-dessous (conférence Paris Web 2008 ) qui vous démontre pourquoi les sites web DOIVENT être performants, surtout que parfois il y a des solutions très simple a mettre en oeuvre pour améliorer grandement la vitesse d&#8217;affichage de vos pages : compression Gzip, Javascript en bas de page, optimisation des images&#8230; plus d&#8217;infos sir le site de Yahoo : <a href="http://developer.yahoo.com/performance/rules.html" target="_blank">Best Practices for Speeding Up Your Web </a></p>
<div id="__ss_826557" style="width: 425px;"><strong style="display: block; margin: 12px 0 4px;"><a title="Performance Web côté client - Daspet / Sullivan - Paris Web 2008" href="http://www.slideshare.net/parisweb/performance-web-ct-client-daspet-sullivan-paris-web-2008">Performance Web côté client &#8211; Daspet / Sullivan &#8211; Paris Web 2008</a></strong><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=performance-web-ct-client-daspet-sullivan-paris-web-2008-7612&amp;rel=0&amp;stripped_title=performance-web-ct-client-daspet-sullivan-paris-web-2008" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=performance-web-ct-client-daspet-sullivan-paris-web-2008-7612&amp;rel=0&amp;stripped_title=performance-web-ct-client-daspet-sullivan-paris-web-2008" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/parisweb">Association Paris-Web</a>.</div>
</div>
<p>Sous Drupal 6 les pages ne sont pas parfaitement au point(voir <a href="http://wimleers.com/article/improving-drupals-page-loading-performance" target="_blank">Improving Drupal&#8217;s page loading performance</a>) .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2010/04/google-decide-de-mieux-classer-les-pages-rapides/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installer Drupal sur Online : nouveau fichier htaccess après la mise à jour vers la version 6.16</title>
		<link>http://www.lesbazeilles.com/2010/04/installer-drupal-sur-online-nouveau-fichier-htaccess-suite-a-la-mise-a-jour-vers-la-version-6-16/</link>
		<comments>http://www.lesbazeilles.com/2010/04/installer-drupal-sur-online-nouveau-fichier-htaccess-suite-a-la-mise-a-jour-vers-la-version-6-16/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 11:00:31 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[Online]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=248</guid>
		<description><![CDATA[La mise à jour de Drupal 6.x vers 6.16 modifie le fichier htaccess, en particulier la section &#171;&#160;# Protect files and directories from prying eyes.&#160;&#187; qui cache les repertoires/fichiers des curieux. Il faut le récrire pour pouvoir l&#8217;utiliser sur Online (voir  mon article sur l&#8217;installation de Drupal sur Online). Voici le nouveau fichier : ?View [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png"><img class="size-full wp-image-94 alignleft" title="druplicon" src="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png" alt="logo de Drupla" width="72" height="83" /></a></p>
<p>La mise à jour de Drupal 6.x vers 6.16 modifie le fichier htaccess, en  particulier la section &laquo;&nbsp;# Protect files and directories from prying eyes.&nbsp;&raquo; qui cache les repertoires/fichiers des curieux.<br />
Il faut le récrire pour pouvoir l&#8217;utiliser sur Online (voir  <a title="Installer Drupal sur Online" href="http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online/">mon article sur l&#8217;installation de Drupal sur Online</a>).<br />
<span id="more-248"></span><br />
Voici le nouveau fichier :</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p248code4'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2484"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
</pre></td><td class="code" id="p248code4"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">#PHP5</span>
<span style="color: #00007f;">AddType</span> application/x-httpd-php5 .php
&nbsp;
&nbsp;
<span style="color: #adadad; font-style: italic;">#</span>
<span style="color: #adadad; font-style: italic;"># Apache/PHP/Drupal settings:</span>
<span style="color: #adadad; font-style: italic;">#</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Protect files and directories from prying eyes.</span>
&lt;<span style="color: #000000; font-weight:bold;">FilesMatch</span> <span style="color: #7f007f;">&quot;<span style="color: #000099; font-weight: bold;">\.</span>(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(<span style="color: #000099; font-weight: bold;">\.</span>php)?|xtmpl|svn-base)$|^(code-style<span style="color: #000099; font-weight: bold;">\.</span>pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$&quot;</span>&gt;
  <span style="color: #00007f;">Order</span> <span style="color: #00007f;">allow</span>,<span style="color: #00007f;">deny</span>
&lt;/<span style="color: #000000; font-weight:bold;">FilesMatch</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Don't show directory listings for URLs which map to a directory.</span>
<span style="color: #adadad; font-style: italic;"># Options -Indexes</span>
<span style="color: #00007f;">IndexOptions</span> -<span style="color: #0000ff;">Indexes</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Follow symbolic links in this directory.</span>
<span style="color: #adadad; font-style: italic;">#Options +FollowSymLinks</span>
&nbsp;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Make Drupal handle any 404 errors.</span>
<span style="color: #00007f;">ErrorDocument</span> <span style="color: #ff0000;">404</span> /index.php
&nbsp;
&nbsp;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Set the default handler.</span>
<span style="color: #00007f;">DirectoryIndex</span> index.php
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_gzip.c&gt;
		mod_gzip_on Yes
		mod_gzip_minimum_file_size <span style="color: #ff0000;">300</span>            /* taille minimum des fichiers à encoder - en octet */
		mod_gzip_maximum_file_size <span style="color: #ff0000;">500000</span>     /* taille maximum des fichiers à encoder - en octet */
		mod_gzip_maximum_inmem_size <span style="color: #ff0000;">100000</span>
		mod_gzip_item_include file \.htm$
		mod_gzip_item_include file \.html$
		mod_gzip_item_include file \.shtml$
		mod_gzip_item_include file \.shtm$
		mod_gzip_item_include file \.jsp$
		mod_gzip_item_include file \.php$
		mod_gzip_item_include file \.pl$
		mod_gzip_item_include file \.cgi$
		mod_gzip_item_include file .css$
		mod_gzip_item_include file .js$
		mod_gzip_item_include mime text/.*
		mod_gzip_item_include mime ^application/x-httpd-php
		mod_gzip_item_include mime httpd/unix-directory
		mod_gzip_item_include handler ^perl-<span style="color: #00007f;">script</span>$
		mod_gzip_item_include handler ^server-status$
		mod_gzip_item_include handler ^server-info$
		mod_gzip_dechunk yes
		mod_gzip_keep_workfiles No
		mod_gzip_can_negotiate yes
		mod_gzip_send_vary <span style="color: #0000ff;">Off</span>
		mod_gzip_item_exclude mime ^image/.$
		mod_gzip_item_exclude mime ^image/
		mod_gzip_item_exclude rspheader Content-Type:image/*
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Override PHP settings. More in sites/default/settings.php</span>
<span style="color: #adadad; font-style: italic;"># but the following cannot be changed at runtime.</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 4, Apache 1.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_php4.c&gt;
  <span style="color: #00007f;">php_value</span> magic_quotes_gpc                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> register_globals                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> session.auto_start              <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_value</span> mbstring.encoding_translation   <span style="color: #ff0000;">0</span>
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 4, Apache 2.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> sapi_apache2.c&gt;
  <span style="color: #00007f;">php_value</span> magic_quotes_gpc                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> register_globals                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> session.auto_start              <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_value</span> mbstring.encoding_translation   <span style="color: #ff0000;">0</span>
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 5, Apache 1 and 2.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_php5.c&gt;
  <span style="color: #00007f;">php_value</span> magic_quotes_gpc                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> register_globals                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> session.auto_start              <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_value</span> mbstring.encoding_translation   <span style="color: #ff0000;">0</span>
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Requires mod_expires to be enabled.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_expires.c&gt;
  <span style="color: #adadad; font-style: italic;"># Enable expirations.</span>
  <span style="color: #00007f;">ExpiresActive</span> <span style="color: #0000ff;">On</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Cache all files for 2 weeks after access (A).</span>
  <span style="color: #00007f;">ExpiresDefault</span> A1209600
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Do not cache dynamically generated pages.</span>
  <span style="color: #00007f;">ExpiresByType</span> text/html A1
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># Various rewrite rules.</span>
&lt;<span style="color: #000000; font-weight:bold;">IfModule</span> mod_rewrite.c&gt;
  <span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">on</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># If your site can be accessed both with and without the 'www.' prefix, you</span>
  <span style="color: #adadad; font-style: italic;"># can use one of the following settings to redirect users to your preferred</span>
  <span style="color: #adadad; font-style: italic;"># URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># To redirect all users to access the site WITH the 'www.' prefix,</span>
  <span style="color: #adadad; font-style: italic;"># (http://example.com/... will be redirected to http://www.example.com/...)</span>
  <span style="color: #adadad; font-style: italic;"># adapt and uncomment the following:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteCond %{HTTP_HOST} ^example\.com$ [NC]</span>
  <span style="color: #adadad; font-style: italic;"># RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># To redirect all users to access the site WITHOUT the 'www.' prefix,</span>
  <span style="color: #adadad; font-style: italic;"># (http://www.example.com/... will be redirected to http://example.com/...)</span>
  <span style="color: #adadad; font-style: italic;"># uncomment and adapt the following:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]</span>
  <span style="color: #adadad; font-style: italic;"># RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Modify the RewriteBase if you are using Drupal in a subdirectory or in a</span>
  <span style="color: #adadad; font-style: italic;"># VirtualDocumentRoot and the rewrite rules are not working properly.</span>
  <span style="color: #adadad; font-style: italic;"># For example if your site is at http://example.com/drupal uncomment and</span>
  <span style="color: #adadad; font-style: italic;"># modify the following line:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteBase /drupal</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># If your site is running in a VirtualDocumentRoot at http://example.com/,</span>
  <span style="color: #adadad; font-style: italic;"># uncomment the following line:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteBase /</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Rewrite URLs of the form 'x' to the form 'index.php?q=x'.</span>
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-f
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-d
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_URI} !=/favicon.ico
  <span style="color: #00007f;">RewriteRule</span> ^(.*)$ index.php?q=$<span style="color: #ff0000;">1</span> [L,QSA]
&lt;/<span style="color: #000000; font-weight:bold;">IfModule</span>&gt;
&nbsp;
<span style="color: #adadad; font-style: italic;"># $Id: .htaccess,v 1.90.2.5 2010/02/02 07:25:22 dries Exp $</span></pre></td></tr></table></div>

<p>Bonne mise à jour</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2010/04/installer-drupal-sur-online-nouveau-fichier-htaccess-suite-a-la-mise-a-jour-vers-la-version-6-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problème de librairie GD sous Ubuntu/debian : recompiler PHP5-gd</title>
		<link>http://www.lesbazeilles.com/2009/11/probleme-de-librairie-gd-sous-ubuntudebian-recompiler-php5-gd/</link>
		<comments>http://www.lesbazeilles.com/2009/11/probleme-de-librairie-gd-sous-ubuntudebian-recompiler-php5-gd/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 16:10:31 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=213</guid>
		<description><![CDATA[Si vous utilisez comme moi Ubuntu 9.10 (ou debian) et que  Drupal   indique que votre version de GD n&#8217;est pas bonne (&#171;&#160;GD Image Rotation Low Quality / Poor Performance&#160;&#187;), il faut recompiler GD. Cette opération n&#8217;est pas très compliquée mais peut prendre du temps. GD est une librairie graphique utilisé sous PHP permettant de [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lesbazeilles.com/wp-content/uploads/2009/11/ubuntulogo.png"><img class="alignleft size-full wp-image-222" title="ubuntulogo" src="http://www.lesbazeilles.com/wp-content/uploads/2009/11/ubuntulogo.png" alt="ubuntulogo" width="300" height="88" /></a>Si vous utilisez comme moi Ubuntu 9.10 (ou debian) et que  Drupal     indique que votre version de GD n&#8217;est pas bonne  (&laquo;&nbsp;GD Image Rotation Low Quality / Poor Performance&nbsp;&raquo;), il faut recompiler GD. Cette opération n&#8217;est pas très compliquée mais peut prendre du temps.<br />
GD est une librairie graphique utilisé sous PHP permettant de faire des opérations sur les images (redimensionnement, rotation&#8230;)<span id="more-213"></span></p>
<p>Testé avec PHP version 5.2.10</p>
<p>D&#8217;abord installer tout les paquets utiles à la compilation (si ce n&#8217;est pas déjà fait)<br />
<code>apt-get install build-essential debhelper fakeroot</code></p>
<p>Récupérer les sources (dans le répertoire /usr/src)<br />
<code>cd /usr/src<br />
apt-get source php5<br />
</code><br />
Maintenant il faut aller changer les paramètres de compilation pour le fichier GD.<br />
<code><br />
cd php5-5.2.10.dfsg.1<br />
cd debian<br />
sudo vi rules<br />
</code><br />
changez la ligne<br />
&#8211;with-gd=shared,/usr &#8211;enable-gd-native-ttf \<br />
par<br />
&#8211;with-gd=shared &#8211;enable-gd-native-ttf \<br />
Recompilez :<br />
<code><br />
dpkg-buildpackage -rfakeroot<br />
</code><br />
Une fois la recompilation effectuez l&#8217;installation du nouveau php5-gd<br />
<code><br />
cd ..<br />
dpkg -i php5-gd_mettre_ici_le_nom_du_package.deb<br />
</code><br />
Relancez Apache et voyez le résultat dans le tableau de bord de Drupal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2009/11/probleme-de-librairie-gd-sous-ubuntudebian-recompiler-php5-gd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Traduc party Drupal le 19/09</title>
		<link>http://www.lesbazeilles.com/2009/09/traduc-party-drupal-le-1909/</link>
		<comments>http://www.lesbazeilles.com/2009/09/traduc-party-drupal-le-1909/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 07:38:04 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=151</guid>
		<description><![CDATA[Pour ceux qui sont motivé Parinux organise une &#8216;Traduc party&#8217; Drupal à la Villette le 19 septembre 2009. But : Traduire le plus possible de module drupal en Français. inscrivez vous sur : http://www.parinux.org/content/traduc-party-drupal]]></description>
			<content:encoded><![CDATA[<p>Pour ceux qui sont motivé Parinux organise une  &#8216;Traduc party&#8217; Drupal à la  Villette  le 19 septembre 2009.<br />
But : Traduire le plus possible de module drupal en Français.</p>
<p>inscrivez vous sur :</p>
<p><a href="http://www.parinux.org/content/traduc-party-drupal" target="_blank">http://www.parinux.org/content/traduc-party-drupal</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2009/09/traduc-party-drupal-le-1909/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mon CMS est fantastique : Drupalistic est lancé</title>
		<link>http://www.lesbazeilles.com/2009/09/commencer-avec-drupal-drupalistic-est-lance/</link>
		<comments>http://www.lesbazeilles.com/2009/09/commencer-avec-drupal-drupalistic-est-lance/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 11:00:51 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=134</guid>
		<description><![CDATA[Si vous ne savez pas par quoi commencer avec Drupal, allez voir ce nouveau site http://www.drupalistic.net/ Vous trouverez plein de conseils pour commencer avec les modules par exemple CCK ou Views. Bonne lecture]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl id="attachment_94" class="wp-caption alignleft" style="width: 82px;">
<dt class="wp-caption-dt"><strong><a href="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png"><img class="size-full wp-image-94 " title="druplicon" src="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png" alt="logo de Drupla" width="72" height="83" /></a> </strong></dt>
</dl>
</div>
<p>Si vous ne savez pas par quoi commencer avec Drupal, allez voir ce nouveau site <a href="http://www.drupalistic.net/">http://www.drupalistic.net/<br />
</a>Vous trouverez plein de conseils pour commencer avec les modules par exemple CCK ou Views.</p>
<p>Bonne lecture</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2009/09/commencer-avec-drupal-drupalistic-est-lance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installer Drupal sur Online suite : Mettre en route le Cron (tache planifiée)</title>
		<link>http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online-mettre-en-route-le-cron-tache-planifiee/</link>
		<comments>http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online-mettre-en-route-le-cron-tache-planifiee/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 10:30:56 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[tache planifiée]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=107</guid>
		<description><![CDATA[Drupal a besoin de se mettre à jour régulièrement. C&#8217;est indispensable  pour toutes les modules qui ont besoin d&#8217;être mises  à jour régulierement : index du moteur de recherche, logs, Rss du site,etc. Pour cela il faut lancer régulièrement le fichier cron.php disponible a partir de l&#8217;url :  http://votre url/cron.php Comment faire un Cron avec [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png"><img class="size-full wp-image-94 alignleft" title="druplicon" src="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png" alt="logo de Drupla" width="72" height="83" /></a><br />
Drupal a besoin de se mettre à jour régulièrement. C&#8217;est indispensable  pour toutes les modules qui ont besoin d&#8217;être mises  à jour régulierement :  index du moteur de recherche, logs, Rss du site,etc.<!-- 96m3pnw74h --><br />
<span id="more-107"></span><br />
Pour cela il faut lancer régulièrement le fichier cron.php disponible a partir de l&#8217;url :  http://votre url/cron.php</p>
<h4>Comment faire un Cron avec Online ?</h4>
<p>Vous pouvez toujours  faire manuellement un cron via l&#8217;interface d&#8217;admin  de Drupal (non conseillé) mais il vaut mieux automatiser la tache en  passant par le robot d&#8217;online.<br />
Pour cela connectez-vous par l&#8217;interface d&#8217;administration d&#8217;Online et cherchez le lien  Tâches planifiées  dans le menu en bas a gauche :<br />
<a style="text-align: center;" href="http://www.lesbazeilles.com/wp-content/uploads/2009/09/TachePlanifié_menu.png" target="_blank"><img class="size-full wp-image-110 aligncenter" title="TachePlanifié_menu" src="http://www.lesbazeilles.com/wp-content/uploads/2009/09/TachePlanifié_menu.png" alt="TachePlanifié_menu" width="161" height="115" /></a></p>
<p>Les  options de la tache planifiée apparaissent :</p>
<p style="text-align: center;"><a href="http://www.lesbazeilles.com/wp-content/uploads/2009/09/TachePlanifié_options.png" target="_blank"><img class="aligncenter size-full wp-image-111" title="TachePlanifié_options" src="http://www.lesbazeilles.com/wp-content/uploads/2009/09/TachePlanifié_options.png" alt="TachePlanifié_options" width="541" height="167" /></a></p>
<p>Remplissez les options avec les valeurs suivantes :</p>
<ul>
<li>URL : <strong>http://Votre_site_drupal/cron.php </strong></li>
<li>Login : (laisser vide)</li>
<li>Mot de passe : (laisser vide)</li>
<li>Heure : <strong>*</strong> (ou choisir une heure, voir ci-dessous)</li>
<li>Jour : <strong>*</strong></li>
<li>Mois : <strong>*</strong></li>
<li>Email : <strong>Votre@email<br />
</strong></li>
</ul>
<h4>Fréquence de la tache planifiée</h4>
<p><a href="http://drupal.org/cron" target="_blank">La documentation de Drupal </a>nous dit :</p>
<blockquote><p>For a modest personal site, you might set up this cron job to run once a day. For a more active site you might want to run that job more often—perhaps every few hours or every hour. This regular visit will tell Drupal to perform its periodic tasks, and this will help keep your system running smoothly.</p></blockquote>
<p>Traduction (incorrecte et par mes soins) :</p>
<blockquote><p>Pour un site modeste faite un cron une fois par jour. Pour un site plus gros le cron doit être effectué plus souvent, peut-être toutes x heures ou toutes les heures. Cette visite régulière [du cron] permet Drupal d&#8217;être performant et aide le système a fonctionner en douceur.</p></blockquote>
<p>Pour ma part je laisse l&#8217;option Heure : *, le cron passera toutes les heures.<br />
Pour les ressources :<a href="http://faq.online.net/hebergement-web/webcron#qu_est_ce_qu_une_tache_planifiee" target="_blank"><br />
Faq online sur les taches planifiées</a><br />
<a href="http://drupal.org/cron" target="_blank">Document Drupal en anglais</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online-mettre-en-route-le-cron-tache-planifiee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installer Drupal sur Online : les erreurs 500</title>
		<link>http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online/</link>
		<comments>http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 15:50:13 +0000</pubDate>
		<dc:creator>Pierre Lesbazeilles</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[Online.net]]></category>

		<guid isPermaLink="false">http://www.lesbazeilles.com/?p=69</guid>
		<description><![CDATA[Attention Suite à la mise a jour de Drupal, j&#8217;ai modifié le fichier .htaccess vous le trouverez dans un autre article Si vous rencontrez des erreurs (erreur 500) après l&#8217;installation de Drupal sur online.net, voici quelques petites mofications que vous devez effectuer. Je pense que c&#8217;est la même chose pour les pages de Free.fr Modifier [...]]]></description>
			<content:encoded><![CDATA[<div style="border:1px solid #FF0000;-moz-border-radius: 3px;margin:10px;padding:10px;"><strong>Attention</strong><br />
Suite à la mise a jour de Drupal, j&#8217;ai modifié le fichier   .htaccess <a href="http://www.lesbazeilles.com/2010/04/installer-drupal-sur-online-nouveau-fichier-htaccess-suite-a-la-mise-a-jour-vers-la-version-6-16/">vous le trouverez dans un autre article</a></div>
<p><a href="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png"><img class="size-full wp-image-94 alignleft" title="druplicon" src="http://www.lesbazeilles.com/wp-content/uploads/2009/09/druplicon120x138.png" alt="logo de Drupla" width="72" height="83" /></a></p>
<p>Si vous rencontrez des erreurs (<a href="http://500.online.net/" target="_blank">erreur 500</a>) après l&#8217;installation de <a href="http://drupal.org">Drupal</a> sur online.net, voici quelques petites mofications que vous devez effectuer. Je pense que c&#8217;est la même chose pour les pages de Free.fr</p>
<p><span id="more-69"></span></p>
<h4>Modifier le fichier <strong>.htaccess</strong> de la racine du site Drupal</h4>
<p>Ajouter le support PHP5 (Faq sur online :  <a href="http://faq.online.net/hebergement-web/php#activer_php5" target="_blank">Activer PHP5</a>):</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code10'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6910"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p69code10"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">#PHP5</span>
<span style="color: #00007f;">AddType</span> application/x-httpd-php5 .php</pre></td></tr></table></div>

<p>Commenter la ligne &#8216;Options -Indexes&#8217; (interdire le listage du répertoiresi index.php  n&#8217;est pas présent) et ajouter cette ligne &#8216;IndexOptions -Indexes&#8217;<br />
(Faq Online : <a href="http://faq.online.net/hebergement-web/htaccess#empecher_le_listing_d_un_repertoire" target="_blank">empecher le listing d&#8217;un répertoire</a>)</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code11'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6911"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p69code11"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;"># Don't show directory listings for URLs which map to a directory.</span>
<span style="color: #adadad; font-style: italic;"># Options -Indexes</span>
<span style="color: #00007f;">IndexOptions</span> -<span style="color: #0000ff;">Indexes</span></pre></td></tr></table></div>

<p>Commenter la ligne  &#8216;Options +FollowSymLinks&#8217; (suivre les liens symboliques : cette option n&#8217;est pas obligatoire et rarement utile dans l&#8217;url rewriting, Online ne supporte pas cette option. MAJ : Online ne supporte pas la commande Options&#8230;.)<br />
<a href="http://faq.online.net/hebergement-web/htaccess#rewrite_rules" target="_blank">extrait de la faq</a> :</p>
<blockquote><p>La directive FollowSymlinks est activé et ne peut être modifiée, il ne faut donc pas la déclarer, sinon vous auriez une error http 500 .</p></blockquote>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code12'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6912"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p69code12"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;"># Follow symbolic links in this directory.</span>
<span style="color: #adadad; font-style: italic;">#Options +FollowSymLinks</span></pre></td></tr></table></div>

<p>Voici le code du fichier.htaccess  complet  :</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code13'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6913"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
</pre></td><td class="code" id="p69code13"><pre class="apache" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;">#PHP5</span>
<span style="color: #00007f;">AddType</span> application/x-httpd-php5 .php
&nbsp;
<span style="color: #adadad; font-style: italic;">#</span>
<span style="color: #adadad; font-style: italic;"># Apache/PHP/Drupal settings:</span>
<span style="color: #adadad; font-style: italic;">#</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Protect files and directories from prying eyes.</span>
&nbsp;
  <span style="color: #00007f;">Order</span> <span style="color: #00007f;">allow</span>,<span style="color: #00007f;">deny</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Don't show directory listings for URLs which map to a directory.</span>
<span style="color: #adadad; font-style: italic;"># Options -Indexes</span>
<span style="color: #00007f;">IndexOptions</span> -<span style="color: #0000ff;">Indexes</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Follow symbolic links in this directory.</span>
<span style="color: #adadad; font-style: italic;">#Options +FollowSymLinks</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Make Drupal handle any 404 errors.</span>
<span style="color: #00007f;">ErrorDocument</span> <span style="color: #ff0000;">404</span> /index.php
&nbsp;
<span style="color: #adadad; font-style: italic;"># Force simple error message for requests for non-existent favicon.ico.</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># There is no end quote below, for compatibility with Apache 1.3.</span>
  <span style="color: #00007f;">ErrorDocument</span> <span style="color: #ff0000;">404</span> <span style="color: #7f007f;">&quot;The requested file favicon.ico was not found.&quot;</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Set the default handler.</span>
<span style="color: #00007f;">DirectoryIndex</span> index.php
&nbsp;
<span style="color: #adadad; font-style: italic;"># Override PHP settings. More in sites/default/settings.php</span>
<span style="color: #adadad; font-style: italic;"># but the following cannot be changed at runtime.</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 4, Apache 1.</span>
&nbsp;
  <span style="color: #00007f;">php_value</span> magic_quotes_gpc                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> register_globals                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> session.auto_start              <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_value</span> mbstring.encoding_translation   <span style="color: #ff0000;">0</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 4, Apache 2.</span>
&nbsp;
  <span style="color: #00007f;">php_value</span> magic_quotes_gpc                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> register_globals                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> session.auto_start              <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_value</span> mbstring.encoding_translation   <span style="color: #ff0000;">0</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># PHP 5, Apache 1 and 2.</span>
&nbsp;
  <span style="color: #00007f;">php_value</span> magic_quotes_gpc                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> register_globals                <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> session.auto_start              <span style="color: #ff0000;">0</span>
  <span style="color: #00007f;">php_value</span> mbstring.http_input             pass
  <span style="color: #00007f;">php_value</span> mbstring.http_output            pass
  <span style="color: #00007f;">php_value</span> mbstring.encoding_translation   <span style="color: #ff0000;">0</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Requires mod_expires to be enabled.</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Enable expirations.</span>
  <span style="color: #00007f;">ExpiresActive</span> <span style="color: #0000ff;">On</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Cache all files for 2 weeks after access (A).</span>
  <span style="color: #00007f;">ExpiresDefault</span> A1209600
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Do not cache dynamically generated pages.</span>
  <span style="color: #00007f;">ExpiresByType</span> text/html A1
&nbsp;
<span style="color: #adadad; font-style: italic;"># Various rewrite rules.</span>
&nbsp;
  <span style="color: #00007f;">RewriteEngine</span> <span style="color: #0000ff;">on</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># If your site can be accessed both with and without the 'www.' prefix, you</span>
  <span style="color: #adadad; font-style: italic;"># can use one of the following settings to redirect users to your preferred</span>
  <span style="color: #adadad; font-style: italic;"># URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># To redirect all users to access the site WITH the 'www.' prefix,</span>
  <span style="color: #adadad; font-style: italic;"># (http://example.com/... will be redirected to http://www.example.com/...)</span>
  <span style="color: #adadad; font-style: italic;"># adapt and uncomment the following:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteCond %{HTTP_HOST} ^example\.com$ [NC]</span>
  <span style="color: #adadad; font-style: italic;"># RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># To redirect all users to access the site WITHOUT the 'www.' prefix,</span>
  <span style="color: #adadad; font-style: italic;"># (http://www.example.com/... will be redirected to http://example.com/...)</span>
  <span style="color: #adadad; font-style: italic;"># uncomment and adapt the following:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]</span>
  <span style="color: #adadad; font-style: italic;"># RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Modify the RewriteBase if you are using Drupal in a subdirectory or in a</span>
  <span style="color: #adadad; font-style: italic;"># VirtualDocumentRoot and the rewrite rules are not working properly.</span>
  <span style="color: #adadad; font-style: italic;"># For example if your site is at http://example.com/drupal uncomment and</span>
  <span style="color: #adadad; font-style: italic;"># modify the following line:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteBase /drupal</span>
  <span style="color: #adadad; font-style: italic;">#</span>
  <span style="color: #adadad; font-style: italic;"># If your site is running in a VirtualDocumentRoot at http://example.com/,</span>
  <span style="color: #adadad; font-style: italic;"># uncomment the following line:</span>
  <span style="color: #adadad; font-style: italic;"># RewriteBase /</span>
&nbsp;
  <span style="color: #adadad; font-style: italic;"># Rewrite URLs of the form 'x' to the form 'index.php?q=x'.</span>
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-f
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_FILENAME} !-d
  <span style="color: #00007f;">RewriteCond</span> %{REQUEST_URI} !=/favicon.ico
  <span style="color: #00007f;">RewriteRule</span> ^(.*)$ index.php?q=$<span style="color: #ff0000;">1</span> [L,QSA]
&nbsp;
<span style="color: #adadad; font-style: italic;"># $Id: .htaccess,v 1.90.2.3 2008/12/10 20:04:08 goba Exp $</span></pre></td></tr></table></div>

<h4>register_globals</h4>
<p>En cas de problème avec les  register_globals sur Online vous avez deux possibilitées :</p>
<ul>
<li> Si vous avez une offre &gt; M : vous pouvez mettre un php.ini a à la racine (Voir la faq ue le site d&#8217;online : <a href="http://faq.online.net/hebergement-web/php#configurer_php" target="_blank">configurer php</a>. Mettre <strong>register_globals = Off</strong></li>
<li> modifier le fichier &#8216;index.php&#8217; à la racine du site en ajoutant ini_set(&#8216;register_globals&#8217;,&#8217;0&#8242;); au début du fichier.</li>
</ul>
<p>voici le contenu de mon index.php :</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code14'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6914"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</pre></td><td class="code" id="p69code14"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//MAJ ONLINE.NET</span>
<a href="http://www.php.net/ini_set"><span style="color: #990000;">ini_set</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'register_globals'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// $Id: index.php,v 1.94 2007/12/26 08:46:48 dries Exp $</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * @file
 * The PHP page that serves all page requests on a Drupal installation.
 *
 * The routines here dispatch control to the appropriate handler, which then
 * prints the appropriate page.
 *
 * All Drupal code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt.
 */</span>
&nbsp;
<span style="color: #b1b100;">require_once</span> <span style="color: #0000ff;">'./includes/bootstrap.inc'</span><span style="color: #339933;">;</span>
drupal_bootstrap<span style="color: #009900;">&#40;</span>DRUPAL_BOOTSTRAP_FULL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$return</span> <span style="color: #339933;">=</span> menu_execute_active_handler<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Menu status constants are integers; page content is a string.</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/is_int"><span style="color: #990000;">is_int</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$return</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">switch</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$return</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">case</span> MENU_NOT_FOUND<span style="color: #339933;">:</span>
      drupal_not_found<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">case</span> MENU_ACCESS_DENIED<span style="color: #339933;">:</span>
      drupal_access_denied<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">case</span> MENU_SITE_OFFLINE<span style="color: #339933;">:</span>
      drupal_site_offline<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$return</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// Print any value (including an empty string) except NULL or undefined:</span>
  <span style="color: #b1b100;">print</span> theme<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'page'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$return</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
drupal_page_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h4>Problèmes avec les images ou les fichiers téléchargés</h4>
<p>En cas de problème avec les  images ou les fichiers  téléchargés : supprimer le fichier htaccess qui se trouve dans  /votre repertoire/sites/votre site/files/.htaccess</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lesbazeilles.com/2009/09/installer-drupal-sur-online/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/23 queries in 0.322 seconds using disk: basic
Object Caching 826/868 objects using disk: basic

Served from: www.lesbazeilles.com @ 2012-02-12 02:56:23 -->
