<?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>x83.net &#187; plesk</title>
	<atom:link href="http://www.x83.net/tag/plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 13:53:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Show FTP accounts in Plesk</title>
		<link>http://www.x83.net/show-ftp-accounts-in-plesk/</link>
		<comments>http://www.x83.net/show-ftp-accounts-in-plesk/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 21:58:51 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=822</guid>
		<description><![CDATA[First login into mysql: mysql -uadmin -p`cat /etc/psa/.psa.shadow` and then: SELECT REPLACE(sys_users.home,&#8217;/home/httpd/vhosts/&#8217;,&#8221;) AS domain, sys_users.login,accounts.password FROM sys_users LEFT JOIN accounts on sys_users.account_id=accounts.id ORDER BY sys_users.home DESC ;]]></description>
			<content:encoded><![CDATA[<p>First login into mysql:</p>
<p><strong>mysql -uadmin -p`cat /etc/psa/.psa.shadow`</strong></p>
<p>and then:</p>
<p><strong>SELECT REPLACE(sys_users.home,&#8217;/home/httpd/vhosts/&#8217;,&#8221;) AS domain, sys_users.login,accounts.password FROM sys_users LEFT JOIN accounts on sys_users.account_id=accounts.id ORDER BY sys_users.home DESC ;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/show-ftp-accounts-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk 10 nginx reverse proxy configuration in front of Apache</title>
		<link>http://www.x83.net/plesk-10-nginx-reverse-proxy-configuration-in-front-of-apache/</link>
		<comments>http://www.x83.net/plesk-10-nginx-reverse-proxy-configuration-in-front-of-apache/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 12:40:14 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[httpdmng]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[plesk 10]]></category>
		<category><![CDATA[reverse proxy]]></category>
		<category><![CDATA[websrvmng]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=769</guid>
		<description><![CDATA[Plesk 10 nginx reverse proxy configuration On older Plesk version ( websrvmng &#8211;set-http-port &#8211;port=8080 Starting with Plesk 10 this is not so easy since you have to edit a php file called /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php. In my case instead of : domain-&#62;physicalHosting-&#62;ipAddress-&#62;address ?&#62;:server-&#62;webserver-&#62;httpsPort : $VAR-&#62;server-&#62;webserver-&#62;httpPort ?&#62;&#62; ServerName "domain-&#62;asciiName ?&#62;:server-&#62;webserver-&#62;httpsPort : $VAR-&#62;server-&#62;webserver-&#62;httpPort ?&#62;" I&#8217;ve set : &#160; &#60;VirtualHost [...]]]></description>
			<content:encoded><![CDATA[<p>Plesk 10 nginx reverse proxy configuration</p>
<p>On older Plesk version (</p>
<p><strong>websrvmng &#8211;set-http-port &#8211;port=8080</strong></p>
<p>Starting with Plesk 10 this is not so easy since you have to edit a php file called <em>/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php</em>. In my case instead of :</p>
<p><code>domain-&gt;physicalHosting-&gt;ipAddress-&gt;address ?&gt;:<!--?php echo $OPT['ssl'] ? $VAR--->server-&gt;webserver-&gt;httpsPort : $VAR-&gt;server-&gt;webserver-&gt;httpPort ?&gt;&gt;<br />
ServerName "<!--?php echo $VAR--->domain-&gt;asciiName ?&gt;:<!--?php echo $OPT['ssl'] ? $VAR--->server-&gt;webserver-&gt;httpsPort : $VAR-&gt;server-&gt;webserver-&gt;httpPort ?&gt;"</code></p>
<p>I&#8217;ve set :</p>
<p>&nbsp;</p>
<p>&lt;VirtualHost &lt;?php echo $OPT['ipAddress']-&gt;escapedAddress ?&gt;:&lt;?php echo $OPT['ssl'] ? 8043 : 8080 ?&gt;&gt;<br />
ServerName &#8220;&lt;?php echo $VAR-&gt;domain-&gt;asciiName ?&gt;:&lt;?php echo $OPT['ssl'] ? 8043 : 8080 ?&gt;&#8221;</p>
<p><span style="font-family: monospace;"><br />
</span></p>
<p>Where 8043 will be the new https port and 8080 will be the http port.</p>
<p>After this change I had to run :</p>
<p><strong>/usr/local/psa/admin/bin/httpdmng &#8211;reconfigure-all</strong></p>
<p>Note that this is only for Plesk 10.x. On 9.x we used to have</p>
<p><strong>/usr/local/psa/admin/sbin/websrvmng &#8211;reconfigure-all</strong></p>
<p>After this make sure that the Apache server has set in its configuration files (/etc/httpd/conf/httpd.conf) Listen 8080 instead of Listen 80. Same thing for the /etc/httpd/conf.d/ssl.conf file, Listen 8043 instead of Listen 443.</p>
<p>Then you need to install nginx (yum install nginx) and download this zip file that these guys provided <a title="zip" href="http://www.grafxsoftware.com/download/nginx/nginx_setup.zip">http://www.grafxsoftware.com/download/nginx/nginx_setup.zip</a>. Furthermore you can check their <a title="Howto" href="http://www.grafxsoftware.com/faq.php/HOW-TO-configure-PLESK-with-NGinx-proxy-reverse/1/1/">http://www.grafxsoftware.com/faq.php/HOW-TO-configure-PLESK-with-NGinx-proxy-reverse/1/1/</a>.</p>
<p>Once downloaded run:</p>
<p><strong>sh generate_nginx_conf.sh</strong></p>
<p>Verify with &#8220;nginx -t&#8221; that there isn&#8217;t any error and finally restart the involved services :</p>
<p><strong>service httpd restart<br />
service nginx restart</strong></p>
<p>Make sure that 8043 and 8080 accept connections. (Note that its not necessary to change the https port).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/plesk-10-nginx-reverse-proxy-configuration-in-front-of-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using mod_proxy in Plesk to redirect to a different site</title>
		<link>http://www.x83.net/using-mod_proxy-in-plesk-to-redirect-to-a-different-site/</link>
		<comments>http://www.x83.net/using-mod_proxy-in-plesk-to-redirect-to-a-different-site/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 07:10:40 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[proxypass]]></category>
		<category><![CDATA[proxypassreverse]]></category>
		<category><![CDATA[websrvmng]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=697</guid>
		<description><![CDATA[Scenario: Site1 : www.site.com Site2 : shop.site2.com The idea is to make a proxy redirect so if I access www.site.com/shop to be redirected to shop.site2.com and keep the URL in the browser. This can be done either by using mod_rewrite (if both sites are on the same server) or by using mod_proxy. In my case [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario:</p>
<p>Site1 : www.site.com<br />
Site2 : shop.site2.com</p>
<p>The idea is to make a proxy redirect so if I access www.site.com/shop to be redirected to shop.site2.com and keep the URL in the browser.<br />
This can be done either by using mod_rewrite (if both sites are on the same server) or by using mod_proxy. In my case I had to do this on a Plesk server.</p>
<p>I&#8217;ve created in /var/www/vhosts/site.com/conf a file called <strong>vhost.conf </strong>that contains:</p>
<p><code>ProxyRequests off<br />
Order deny,allow<br />
Allow from all<br />
</code></p>
<p><code>ProxyPass /shop http://shop.site2.com<br />
ProxyPassReverse /shop http://shop.site2.com<br />
SetEnv force-proxy-request-1.0 1<br />
SetEnv proxy-nokeepalive 1</p>
<p></code></p>
<p><code><br />
Order allow,deny<br />
Allow from all</p>
<p></code></p>
<p>Then I ran:</p>
<p><code>/usr/local/psa/admin/bin/websrvmng -a -v</code></p>
<p>Verify httpd.include to see if there is any Include directive.</p>
<p>Now if you go to www.site.com/shop/ you should be redirected to shop.site2.com. Notice the trailing slash after (../shop/). That needs to be there otherwise it won&#8217;t load the images properly.</p>
<p>This can be fixed by adding in vhost.conf a Rewrite rule like:<br />
<code>RewriteEngine on</code><br />
<code>RewriteRule ^/shop$ /shop/ [R]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/using-mod_proxy-in-plesk-to-redirect-to-a-different-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bulk adding domains in Plesk</title>
		<link>http://www.x83.net/bulk-adding-domains-in-plesk/</link>
		<comments>http://www.x83.net/bulk-adding-domains-in-plesk/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 19:44:54 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[bulk]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=457</guid>
		<description><![CDATA[I had one client that wanted to add 400 domains on 4 Windows servers, each server had like 4-5 public ips, so I had to use 4/5 ip for 100 domains. On Windows this worked fine for me: FOR /L %i IN (0,1,99) DO domain &#8211;create mydomain61%i.INFO -login user61%i -ip IP_address -status enabled -hosting true [...]]]></description>
			<content:encoded><![CDATA[<p>I had one client that wanted to add 400 domains on 4 Windows servers, each server had like 4-5 public ips, so I had to use 4/5 ip for 100 domains.</p>
<p>On Windows this worked fine for me:</p>
<p>FOR /L %i IN (0,1,99) DO domain &#8211;create mydomain61%i.INFO -login user61%i -ip IP_address -status enabled -hosting true -hst_type phys -passwd domainpass -cgi true -php true -dns true -template Default_Domain</p>
<p>Note that you have to add your own template and rename it like Default_Domain. Of course you can script this even more by taking the domains from a list, same for the ip addresses.</p>
<p>On Linux this can be done using the domain.sh script.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/bulk-adding-domains-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install FFmpeg and FFmpeg-php on Centos 5 and Plesk</title>
		<link>http://www.x83.net/install-ffmpeg-and-ffmpeg-php-on-centos-5-and-plesk/</link>
		<comments>http://www.x83.net/install-ffmpeg-and-ffmpeg-php-on-centos-5-and-plesk/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:49:58 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffmpeg-php]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=445</guid>
		<description><![CDATA[Run : rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2 cd /usr/src Download http://garr.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2 tar jxvf ffmpeg-php-0.6.0.tbz2 cd ffmpeg-php-0.6.0 phpize ./configure make make install Edit /etc/php.ini and add : extension=ffmpeg.so and then: service httpd restart]]></description>
			<content:encoded><![CDATA[<p>Run :</p>
<blockquote><p>rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2<br />
cd /usr/src<br />
Download http://garr.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2<br />
tar jxvf ffmpeg-php-0.6.0.tbz2<br />
cd ffmpeg-php-0.6.0<br />
phpize<br />
./configure<br />
make<br />
make install</p>
<p>Edit /etc/php.ini and add : </p>
<p>extension=ffmpeg.so</p>
<p>and then:</p>
<p>service httpd restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/install-ffmpeg-and-ffmpeg-php-on-centos-5-and-plesk/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Update php in Plesk</title>
		<link>http://www.x83.net/update-php-in-plesk/</link>
		<comments>http://www.x83.net/update-php-in-plesk/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:29:54 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=440</guid>
		<description><![CDATA[Run: Download http://www.atomicorp.com/installers/atomic.sh sh atomic.sh yum update php]]></description>
			<content:encoded><![CDATA[<p>Run:</p>
<blockquote><p>Download http://www.atomicorp.com/installers/atomic.sh<br />
sh atomic.sh<br />
yum update php
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/update-php-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk Qmail issue regarding /etc/courier-imap/shared/index</title>
		<link>http://www.x83.net/qmail-issue-etccourier-imapsharedindex/</link>
		<comments>http://www.x83.net/qmail-issue-etccourier-imapsharedindex/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 16:31:25 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[courier-imap]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[qmail]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=398</guid>
		<description><![CDATA[If you see in your logs: Jun 4 16:11:18 host imapd: /etc/courier-imap/shared/index: No such file or directory you need to check perms and ownership on /var/qmail/bin/qmail-queue # ls -la /var/qmail/bin/qmail-queue -r-s&#8211;x&#8211;x 1 root qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue perms are fine, but ownership is not # chown qmailq:qmail /var/qmail/bin/qmail-queue # ls -la /var/qmail/bin/qmail-queue -r-x&#8211;x&#8211;x [...]]]></description>
			<content:encoded><![CDATA[<p>If you see in your logs:<br />
Jun 4 16:11:18 host imapd: /etc/courier-imap/shared/index: No such file or directory</p>
<p>you need to check perms and ownership on /var/qmail/bin/qmail-queue</p>
<p># ls -la /var/qmail/bin/qmail-queue<br />
-r-s&#8211;x&#8211;x 1 root qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue<br />
perms are fine, but ownership is not<br />
# chown qmailq:qmail /var/qmail/bin/qmail-queue<br />
# ls -la /var/qmail/bin/qmail-queue<br />
-r-x&#8211;x&#8211;x 1 qmailq qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue<br />
[root@host ~]# service qmail restart<br />
Stopping : Starting qmail:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/qmail-issue-etccourier-imapsharedindex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto show email accounts and passwords in Plesk</title>
		<link>http://www.x83.net/howto-show-email-accounts-and-passwords-in-plesk/</link>
		<comments>http://www.x83.net/howto-show-email-accounts-and-passwords-in-plesk/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 08:39:30 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=392</guid>
		<description><![CDATA[Login to mysql and : use psa; SELECT accounts.id, mail.mail_name, accounts.password, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN accounts ON mail.account_id = accounts.id It should print all emails that are created and their passwords.]]></description>
			<content:encoded><![CDATA[<p>Login to mysql and :</p>
<blockquote><p>use psa;<br />
SELECT accounts.id, mail.mail_name, accounts.password, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN accounts ON mail.account_id = accounts.id
</p></blockquote>
<p>It should print all emails that are created and their passwords.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/howto-show-email-accounts-and-passwords-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

