<?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; Online</title>
	<atom:link href="http://www.lesbazeilles.com/tag/online/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lesbazeilles.com</link>
	<description>Drupal et autres joyeusetés</description>
	<lastBuildDate>Tue, 13 Apr 2010 13:48:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=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 Code APACHE1
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
#PHP5
AddType [...]]]></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="/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('p248code2'); return false;">View Code</a> APACHE</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2482"><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="p248code2"><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>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/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=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 Online [...]]]></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>
	</channel>
</rss>
