<?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>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>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>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>
	</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/13 queries in 0.264 seconds using disk: basic
Object Caching 422/441 objects using disk: basic

Served from: www.lesbazeilles.com @ 2012-02-12 02:54:51 -->
