<?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>Deec.it &#187; modifica default vhost.conf</title>
	<atom:link href="http://www.deec.it/tag/modifica-default-vhost-conf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deec.it</link>
	<description>Le Guide Pratiche Dell&#039;Informatica</description>
	<lastBuildDate>Sat, 24 Jul 2010 09:40:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Modificare lo skel di plesk per ogni vhost.conf</title>
		<link>http://www.deec.it/2009/11/11/modificare-lo-skel-di-plesk-per-ogni-vhost-conf/</link>
		<comments>http://www.deec.it/2009/11/11/modificare-lo-skel-di-plesk-per-ogni-vhost-conf/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 06:00:34 +0000</pubDate>
		<dc:creator>loade</dc:creator>
				<category><![CDATA[Parallels Plesk]]></category>
		<category><![CDATA[domain_name]]></category>
		<category><![CDATA[modifica default vhost.conf]]></category>
		<category><![CDATA[skel]]></category>
		<category><![CDATA[vhost.conf]]></category>

		<guid isPermaLink="false">http://www.deec.it/?p=2087</guid>
		<description><![CDATA[



Se si vuole fare una modifica al file vhost.conf per tutti i domini, in modo che alla creazione di un nuovo domain venga già caricato un vhost.conf di default, si puo&#8217; procedere in questo modo:
mkdir /var/www/vhosts/.skel/0/conf/
vi /var/www/vhosts/.skel/0/conf/vhost.conf
All&#8217;interno del vhost.conf si inserisce quanto segue:
&#60;Directory /var/www/vhosts/@domain_name@/httpdocs&#62;
&#8230;
&#60;/Directory&#62;
dove @domain_name@ e&#8217; una variabile che identifica il dominio che automaticamente viene [...]]]></description>
			<content:encoded><![CDATA[<!-- AdSense Now! V1.77 -->
<!-- Post[count: 3] -->
<div class="adsense adsense-leadin" style="text-align:center;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-5841373120371067";
/* 468x60, creato 22/09/09 M&amp;P */
google_ad_slot = "8731175604";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>Se si vuole fare una modifica al file vhost.conf per tutti i domini, in modo che alla creazione di un nuovo domain venga già caricato un vhost.conf di default, si puo&#8217; procedere in questo modo:</p>
<blockquote><p>mkdir /var/www/vhosts/.skel/0/conf/<br />
vi /var/www/vhosts/.skel/0/conf/vhost.conf</p></blockquote>
<p>All&#8217;interno del vhost.conf si inserisce quanto segue:</p>
<blockquote><p>&lt;Directory /var/www/vhosts/@domain_name@/httpdocs&gt;<br />
&#8230;<br />
&lt;/Directory&gt;</p></blockquote>
<p>dove @domain_name@ e&#8217; una variabile che identifica il dominio che automaticamente viene presa al momento della creazione di un nuovo domain. Ovviamente tra i tag &lt;Directory&gt; potete inserire le vostre personalizzazioni al file <a href="http://www.deec.it/?s=vhost.conf" target="_blank">vhost.conf</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deec.it/2009/11/11/modificare-lo-skel-di-plesk-per-ogni-vhost-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
