<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Commentaires sur : Passage de votre site en maintenance lors de vos mises à jour</title>
	<atom:link href="http://www.funstaff.ch/2009/08/14/passage-de-votre-site-en-maintenance-lors-de-vos-mises-a-jour/feed" rel="self" type="application/rss+xml" />
	<link>http://www.funstaff.ch/2009/08/14/passage-de-votre-site-en-maintenance-lors-de-vos-mises-a-jour</link>
	<description>Que vous dire de plus ?</description>
	<lastBuildDate>Wed, 23 Nov 2011 15:34:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Par : Christophe</title>
		<link>http://www.funstaff.ch/2009/08/14/passage-de-votre-site-en-maintenance-lors-de-vos-mises-a-jour/comment-page-1#comment-1849</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Mon, 03 Jan 2011 06:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.funstaff.ch/?p=526#comment-1849</guid>
		<description>Bonjour,
Très bonne idée en effet. 

Voici une solution alternative, si c&#039;est uniquement une coupure du site pouvant être initiée par un développeur. 
C&#039;est à mettre dans le .htaccess (après le RewriteBase de Symfony) pour renvoyer vers une page maintenance.html sauf pour certaines IP :
RewriteCond %{REMOTE_ADDR} !192\.168\.0\.1
 RewriteCond %{REMOTE_ADDR} !127\.0\.0\.1
 RewriteCond %{REMOTE_ADDR} !4\.5\.6\.7
 RewriteRule .* maintenance.html [QSA,L]
 </description>
		<content:encoded><![CDATA[<p>Bonjour,<br />
Très bonne idée en effet. </p>
<p>Voici une solution alternative, si c&#8217;est uniquement une coupure du site pouvant être initiée par un développeur.<br />
C&#8217;est à mettre dans le .htaccess (après le RewriteBase de Symfony) pour renvoyer vers une page maintenance.html sauf pour certaines IP :<br />
RewriteCond %{REMOTE_ADDR} !192\.168\.0\.1<br />
 RewriteCond %{REMOTE_ADDR} !127\.0\.0\.1<br />
 RewriteCond %{REMOTE_ADDR} !4\.5\.6\.7<br />
 RewriteRule .* maintenance.html [QSA,L]<br />
 </p>
<p> <img style="padding: 0px; border: none; cursor: pointer;" onmouseover="this.width=this.width*1.3" onmouseout="this.width=this.width/1.2" id="up-1849" src="http://www.funstaff.ch/wp-content/plugins/comment-rating/images/1_14_up.png" alt="Thumb up" onclick="javascript:ckratingKarma('1849', 'add', 'www.funstaff.ch/wp-content/plugins/comment-rating/', '1_14_');" title="" /> <span id="karma-1849-up" style="font-size:12px; color:#009933;">0</span>&nbsp;<img style="padding: 0px; border: none; cursor: pointer;" onmouseover="this.width=this.width*1.3" onmouseout="this.width=this.width/1.2" id="down-1849" src="http://www.funstaff.ch/wp-content/plugins/comment-rating/images/1_14_down.png" alt="Thumb down" onclick="javascript:ckratingKarma('1849', 'subtract', 'www.funstaff.ch/wp-content/plugins/comment-rating/', '1_14_')" title="" /> <span id="karma-1849-down" style="font-size:12px; color:#990033;">0</span></p>]]></content:encoded>
	</item>
</channel>
</rss>

