<?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>Blog Symfony - Lexik Montpellier &#187; Ubuntu</title>
	<atom:link href="http://www.lexik.fr/blog/symfony/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lexik.fr/blog/symfony</link>
	<description>Blog sur le développement Web PHP</description>
	<lastBuildDate>Tue, 20 Jul 2010 08:35:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Virtual host sous Ubuntu</title>
		<link>http://www.lexik.fr/blog/symfony/ubuntu/virtual-host-sous-ubuntu-192</link>
		<comments>http://www.lexik.fr/blog/symfony/ubuntu/virtual-host-sous-ubuntu-192#comments</comments>
		<pubDate>Tue, 03 Mar 2009 11:13:39 +0000</pubDate>
		<dc:creator>Samuel Breton</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[virtual]]></category>

		<guid isPermaLink="false">http://www.lexik.fr/sfblog/?p=192</guid>
		<description><![CDATA[&#160; Mise en place d&#8217;un Virtual Host bas&#233;, sur le nom, sous Ubuntu. Pr&#233;-requis : Le dossier du projet doit exister. Cr&#233;er un fichier du nom du projet dans : /etc/apache2/sites-available &#201;dition du fichier: Exemple avec le projet Love: ?View Code XML&#60;virtualhost&#62; ServerName love DocumentRoot &#38;quot;/home/sfprojects/love/web&#38;quot; DirectoryIndex index.php Alias /sf /home/sfprojects/love/lib/vendor/symfony/data/web/sf &#60;directory&#62; AllowOverride All Allow [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">&nbsp;</p>
<div style="text-align: left;">Mise en place d&#8217;un Virtual Host bas&eacute;, sur le nom, sous Ubuntu.</div>
<p><span id="more-192"></span></p>
<div style="text-align: left;">
<ul>
<li><span style="font-size: x-small;">Pr&eacute;-requis : Le dossier du projet doit exister.</span></li>
</ul>
<ul>
<li><span style="font-size: x-small;">Cr&eacute;er un fichier du nom du projet dans : </span>/etc/apache2/sites-available</li>
</ul>
<ul>
<li>&Eacute;dition du fichier:</li>
</ul>
<div style="text-align: left;"><span style="text-decoration: underline;">Exemple avec le projet Love:</span></div>

<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('p192code2'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1922"><td class="code" id="p192code2"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;virtualhost<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> ServerName love DocumentRoot <span style="color: #ddbb00;">&amp;quot;</span>/home/sfprojects/love/web<span style="color: #ddbb00;">&amp;quot;</span> DirectoryIndex index.php  Alias /sf /home/sfprojects/love/lib/vendor/symfony/data/web/sf  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;directory<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> AllowOverride All Allow from All <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/directory<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;br</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/virtualhost<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<ul>
<li>G&eacute;n&eacute;ration du fichier dans : /etc/apache2/sites-enabled via la commande :</li>
</ul>
<div style="text-align: center;">
<div style="text-align: left;">
<div style="text-align: center;">a2ensite <strong>nom_du_projet</strong></div>
<div style="text-align: left;">
<div style="text-align: left;">
<ul>
<li>&Eacute;dition du fichier: /etc/hosts : ajouter le nom de l&#8217;host &agrave; la ligne localhost correspondante:</li>
</ul>
</div>
<div style="text-align: center;">127.0.0.1&nbsp;&nbsp; &nbsp;localhost <strong>nom_de_l_host_souhait&eacute;</strong></div>
</div>
</div>
</div>
<ul>
<li>Red&eacute;marrer apache :&nbsp; /etc/init.d/apache2 restart</li>
</ul>
</div>
<div style="text-align: left;">
<div style="text-align: right;"><em><span style="text-decoration: underline;">cf:</span> http://doc.ubuntu-fr.org/tutoriel/virtualhosts_avec_apache2</em></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.lexik.fr/blog/symfony/ubuntu/virtual-host-sous-ubuntu-192/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
