<?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>Comments on: Using Plesk and vhost.conf</title>
	<atom:link href="http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/</link>
	<description>Help - v. helped, helpÂ·ing, helps</description>
	<lastBuildDate>Sat, 21 Nov 2009 03:50:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ricardo Martinez</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-29185</link>
		<dc:creator>Ricardo Martinez</dc:creator>
		<pubDate>Sat, 21 Nov 2009 03:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-29185</guid>
		<description>Hi.

I&#039;m trying to use vhost to have all my .htacces rules there.  the Include in the httpd.include file on my conf directory is there and nothing happends.

this is the vhost file i&#039;m using to test.


php_admin_value open_basedir &quot;/var/www/vhosts/contenido.lapulga.com.do/httpdocs&quot;
#php_admin_value display_errors = on


Options +FollowSymLinks
RewriteEngine on
RewriteRule ^celulares.html$ index.php?op=cat&amp;cid=4

all the time i get 404 not found when i try to access mydomain.com/celulares.html

any help?

the server is using red hat with plesk 8.6

thanks</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;m trying to use vhost to have all my .htacces rules there.  the Include in the httpd.include file on my conf directory is there and nothing happends.</p>
<p>this is the vhost file i&#8217;m using to test.</p>
<p>php_admin_value open_basedir &#8220;/var/www/vhosts/contenido.lapulga.com.do/httpdocs&#8221;<br />
#php_admin_value display_errors = on</p>
<p>Options +FollowSymLinks<br />
RewriteEngine on<br />
RewriteRule ^celulares.html$ index.php?op=cat&amp;cid=4</p>
<p>all the time i get 404 not found when i try to access mydomain.com/celulares.html</p>
<p>any help?</p>
<p>the server is using red hat with plesk 8.6</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Dekkers</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-29040</link>
		<dc:creator>Peter Dekkers</dc:creator>
		<pubDate>Tue, 10 Nov 2009 03:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-29040</guid>
		<description>&lt;q cite=&quot;Sb&quot;&gt;Well, perhaps people would not forget it if it was mentioned in the httpd.include file. ;)&lt;/q&gt;

Too true. It&#039;s a bit all over the place, the Plesk documentation and help, isn&#039;t it.</description>
		<content:encoded><![CDATA[<p><q cite="Sb">Well, perhaps people would not forget it if it was mentioned in the httpd.include file. ;)</q></p>
<p>Too true. It&#8217;s a bit all over the place, the Plesk documentation and help, isn&#8217;t it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: diastasi</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-28915</link>
		<dc:creator>diastasi</dc:creator>
		<pubDate>Thu, 29 Oct 2009 18:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-28915</guid>
		<description>You dont believe how much this “This is the part that everyone forgets”… thing helped me.
I try since one year lots of things cause the vhost.conf did not worked.. hahaha

Thanks thanks thanks</description>
		<content:encoded><![CDATA[<p>You dont believe how much this “This is the part that everyone forgets”… thing helped me.<br />
I try since one year lots of things cause the vhost.conf did not worked.. hahaha</p>
<p>Thanks thanks thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sb</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-22191</link>
		<dc:creator>sb</dc:creator>
		<pubDate>Fri, 27 Feb 2009 09:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-22191</guid>
		<description>It works! Thanks!

&quot;This is the part that everyone forgets&quot;... Well, perhaps people would not forget it if it was mentioned in the httpd.include file. ;)</description>
		<content:encoded><![CDATA[<p>It works! Thanks!</p>
<p>&#8220;This is the part that everyone forgets&#8221;&#8230; Well, perhaps people would not forget it if it was mentioned in the httpd.include file. ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Bartlett</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-22172</link>
		<dc:creator>Robert Bartlett</dc:creator>
		<pubDate>Thu, 26 Feb 2009 01:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-22172</guid>
		<description>Just wanted to say that I was following along after migrating from one Plesk enabled host to another, using the built in Migration tool, when I couldn&#039;t get my sites to run at all on the new host.

In the old host, I had exactly the same vhost.conf file, so I was perplexed.

In my troubleshooting, I determined that safe_mode and open_basedir are tied together.

You can&#039;t have open_basedir specified, if safe_mode is on.  You have to turn off safe_mode.

The example above:

 
      php_admin_value open_basedir &quot;/var/www/vhosts/yourdomain.com/httpdocs:/php/includes&quot; 


Only works if safe_mode is disabled in the php.ini file.

So, if under normal circumstances, you have safe_mode on, then you&#039;d do this:

 
       php_admin_flag safe_mode 0
       php_admin_value open_basedir &quot;/var/www/vhosts/yourdomain.com/httpdocs:/php/includes&quot; 
 

Peace!</description>
		<content:encoded><![CDATA[<p>Just wanted to say that I was following along after migrating from one Plesk enabled host to another, using the built in Migration tool, when I couldn&#8217;t get my sites to run at all on the new host.</p>
<p>In the old host, I had exactly the same vhost.conf file, so I was perplexed.</p>
<p>In my troubleshooting, I determined that safe_mode and open_basedir are tied together.</p>
<p>You can&#8217;t have open_basedir specified, if safe_mode is on.  You have to turn off safe_mode.</p>
<p>The example above:</p>
<p>      php_admin_value open_basedir &#8220;/var/www/vhosts/yourdomain.com/httpdocs:/php/includes&#8221; </p>
<p>Only works if safe_mode is disabled in the php.ini file.</p>
<p>So, if under normal circumstances, you have safe_mode on, then you&#8217;d do this:</p>
<p>       php_admin_flag safe_mode 0<br />
       php_admin_value open_basedir &#8220;/var/www/vhosts/yourdomain.com/httpdocs:/php/includes&#8221; </p>
<p>Peace!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Thompson</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-21741</link>
		<dc:creator>Scott Thompson</dc:creator>
		<pubDate>Mon, 12 Jan 2009 17:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-21741</guid>
		<description>Thanks for the help, this worked beautifully, trouble was that the httpd reload didn&#039;t take the changes for me, but the websrvmng call did the trick (bowing) many thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for the help, this worked beautifully, trouble was that the httpd reload didn&#8217;t take the changes for me, but the websrvmng call did the trick (bowing) many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Totrk</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-21165</link>
		<dc:creator>Totrk</dc:creator>
		<pubDate>Sat, 01 Nov 2008 11:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-21165</guid>
		<description>Really good this help me to make Joomla work with Pelsk ... (and other helps), is the best mention of specific vconf in Plesk</description>
		<content:encoded><![CDATA[<p>Really good this help me to make Joomla work with Pelsk &#8230; (and other helps), is the best mention of specific vconf in Plesk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Plesk and vhost.conf &#171; RussenReaktor&#8217;s Weblog</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-20701</link>
		<dc:creator>Using Plesk and vhost.conf &#171; RussenReaktor&#8217;s Weblog</dc:creator>
		<pubDate>Mon, 29 Sep 2008 22:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-20701</guid>
		<description>[...] 29, 2008   &#8220;/usr/local/psa/admin/sbin/websrvmng -u &#8211;vhost-name=domain.com&#8221;gadberry.com   Posted in vps [...]</description>
		<content:encoded><![CDATA[<p>[...] 29, 2008   &#8220;/usr/local/psa/admin/sbin/websrvmng -u &#8211;vhost-name=domain.com&#8221;gadberry.com   Posted in vps [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlos</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-20298</link>
		<dc:creator>carlos</dc:creator>
		<pubDate>Thu, 11 Sep 2008 14:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-20298</guid>
		<description>I have some subdomains configured in plesk, and everything is working just fine.

Now I need to redirect people that access to any other subdomain (except the ones configured in plesk) to a different default directory.

For example http://xpto.mydomain.com to “/var/www/vhosts/mydomain.com/httpdocs/default”.

I’ve tried to create a wildcard, with the code listed bellow, but it only works if I paste it to the end of “http.include”, which is discarded after any other plesk change.

If I use the “vhost.conf” as suggested here, I get errors, because the include line at “http.include” is inside the first  and lead me to problems with the others subdomains.

&lt;code&gt;
&lt;VirtualHost 60.190.200.123:80&gt;
	ServerName   mydomain.com:80
	ServerAlias   *.mydomain.com
	DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/default
	CustomLog  /var/www/vhosts/mydomain.com/statistics/logs/access_log plesklog
	ErrorLog  /var/www/vhosts/mydomain.com/statistics/logs/error_log
&lt;/VirtualHost&gt;
&lt;/code&gt;

Is there any other way to do this ? Am I doing something wrong ?</description>
		<content:encoded><![CDATA[<p>I have some subdomains configured in plesk, and everything is working just fine.</p>
<p>Now I need to redirect people that access to any other subdomain (except the ones configured in plesk) to a different default directory.</p>
<p>For example <a href="http://xpto.mydomain.com" rel="nofollow">http://xpto.mydomain.com</a> to “/var/www/vhosts/mydomain.com/httpdocs/default”.</p>
<p>I’ve tried to create a wildcard, with the code listed bellow, but it only works if I paste it to the end of “http.include”, which is discarded after any other plesk change.</p>
<p>If I use the “vhost.conf” as suggested here, I get errors, because the include line at “http.include” is inside the first  and lead me to problems with the others subdomains.</p>
<p><pre><code>
&lt;VirtualHost 60.190.200.123:80&gt;
	ServerName   mydomain.com:80
	ServerAlias   *.mydomain.com
	DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/default
	CustomLog  /var/www/vhosts/mydomain.com/statistics/logs/access_log plesklog
	ErrorLog  /var/www/vhosts/mydomain.com/statistics/logs/error_log
&lt;/VirtualHost&gt;
</code></pre></p>
<p>Is there any other way to do this ? Am I doing something wrong ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webdesign</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-18943</link>
		<dc:creator>webdesign</dc:creator>
		<pubDate>Tue, 26 Aug 2008 08:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-18943</guid>
		<description>I am trying to make a Documentroot param in de Vhost,conf but the i have a error that doesnt parse my PHP files ..? why does it do that when i change documentroot ?</description>
		<content:encoded><![CDATA[<p>I am trying to make a Documentroot param in de Vhost,conf but the i have a error that doesnt parse my PHP files ..? why does it do that when i change documentroot ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
