<?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>Server Sitters Tech Corner</title>
	<atom:link href="http://serversitters.com/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://serversitters.com/technical</link>
	<description>Outsourced Web Hosting Support</description>
	<lastBuildDate>Mon, 24 May 2010 14:08:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mod Security Whitelist IP</title>
		<link>http://serversitters.com/technical/security/mod-security-whitelist-ip/</link>
		<comments>http://serversitters.com/technical/security/mod-security-whitelist-ip/#comments</comments>
		<pubDate>Mon, 24 May 2010 14:08:09 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=194</guid>
		<description><![CDATA[Sometimes it&#8217;s necessary to whitelist an IP address so it can get past the mod_security filters.  This is a great feature in case you want to open the filters for one visitor while leaving the security features in place.
Open the mod_security whitelist file:
vi /usr/local/apache/conf/modsec2/whitelist.conf
Code:

SecRule REMOTE_ADDR "^111\.222\.333\.444" phase:1,nolog,allow,ctl:ruleEngine=off

Where 111.222.333.444 would be replaced with the IP [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#8217;s necessary to whitelist an IP address so it can get past the mod_security filters.  This is a great feature in case you want to open the filters for one visitor while leaving the security features in place.</p>
<p>Open the mod_security whitelist file:<br />
vi /usr/local/apache/conf/modsec2/whitelist.conf</p>
<p>Code:<br />
<code><br />
SecRule REMOTE_ADDR "^111\.222\.333\.444" phase:1,nolog,allow,ctl:ruleEngine=off<br />
</code></p>
<p>Where 111.222.333.444 would be replaced with the IP address you wish to whitelist.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/security/mod-security-whitelist-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RVSitebuilder DB connection problem</title>
		<link>http://serversitters.com/technical/cpanel/rvsitebuilder-db-connection-problem/</link>
		<comments>http://serversitters.com/technical/cpanel/rvsitebuilder-db-connection-problem/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 13:09:28 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=192</guid>
		<description><![CDATA[If a client is logging into their cpanel, and trying to launch RVSiteBuilder, but they are getting the following error:
Cannot connect to DB, check your credentials, exiting &#8230;..
Sorry your request can not be processed now.Please contact your service provider. .
This is not a user problem, but a RVSiteBuilder problem.  Check the database username and [...]]]></description>
			<content:encoded><![CDATA[<p>If a client is logging into their cpanel, and trying to launch RVSiteBuilder, but they are getting the following error:</p>
<p>Cannot connect to DB, check your credentials, exiting &#8230;..<br />
Sorry your request can not be processed now.Please contact your service provider. .</p>
<p>This is not a user problem, but a RVSiteBuilder problem.  Check the database username and password in the config file located here:</p>
<p>/var/cpanel/rvglobalsoft/rvsitebuilder/var/SERVER.IP.ADDRESS.conf.php</p>
<p>Make sure that the username and password listed in that file match what MySQL has.  </p>
<p>If you run the following commands, it will apply the username and password to the database.</p>
<p>grant all privileges on DATABASE_NAME.* to USERNAME@&#8221;localhost&#8221; identified by &#8216;PASSWORD&#8217;;<br />
grant all privileges on DATABASE_NAME.* to USERNAME@&#8221;SERVER.IP.ADDRESS&#8221; identified by &#8216;PASSWORD&#8217;;<br />
grant all privileges on DATABASE_NAME.* to USERNAME@&#8221;SERVER.HOSTNAME&#8221; identified by &#8216;PASSWORD&#8217;;</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/cpanel/rvsitebuilder-db-connection-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam Assasin 2010 Bug</title>
		<link>http://serversitters.com/technical/spam/spam-assasin-y10k-bug/</link>
		<comments>http://serversitters.com/technical/spam/spam-assasin-y10k-bug/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 18:25:47 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=189</guid>
		<description><![CDATA[ FH_DATE_PAST_20XX scores on all mails dated 2010 or later.  
There was a bug in SpamAssassin that hit Jan 1st, 2010.  All emails were getting marked with the above error in SpamAssassin, and it was adding 3.5 to the spam score, thus getting blocked by most standard spamassassin configs.
To fix this, simply run [...]]]></description>
			<content:encoded><![CDATA[<p> FH_DATE_PAST_20XX scores on all mails dated 2010 or later.  </p>
<p>There was a bug in SpamAssassin that hit Jan 1st, 2010.  All emails were getting marked with the above error in SpamAssassin, and it was adding 3.5 to the spam score, thus getting blocked by most standard spamassassin configs.</p>
<p>To fix this, simply run sa-update from a linux command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/spam/spam-assasin-y10k-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notify when a root user logs in</title>
		<link>http://serversitters.com/technical/security/notify-when-a-root-user-logs-in/</link>
		<comments>http://serversitters.com/technical/security/notify-when-a-root-user-logs-in/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 07:02:32 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=187</guid>
		<description><![CDATA[If you don&#8217;t have this setup already you should!  This is a great method to ensure you&#8217;re notified each time the root user connects to your server via SSH.  
Edit the .bash_profile file of the user whose account you wish to monitor &#8211; typically: /root/.bash_profile
echo &#8216;ALERT &#8211; Root Shell Access on:&#8217; `hostname` `date` [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t have this setup already you should!  This is a great method to ensure you&#8217;re notified each time the root user connects to your server via SSH.  </p>
<p>Edit the .bash_profile file of the user whose account you wish to monitor &#8211; typically: /root/.bash_profile</p>
<p>echo &#8216;ALERT &#8211; Root Shell Access on:&#8217; `hostname` `date` `who` | mail -s &#8220;Alert: Root Access on `hostname`&#8221; email@yourdomain.com</p>
<p>You will then receive an email each time the selected user logs into the system via SSH.  The email will provide you with their full connection string and IP so you can keep a close eye on who&#8217;s accessing a particular server with root privileges.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/security/notify-when-a-root-user-logs-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to ping your website in Windows</title>
		<link>http://serversitters.com/technical/miscellaneous/how-to-ping-your-website-in-windows/</link>
		<comments>http://serversitters.com/technical/miscellaneous/how-to-ping-your-website-in-windows/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 06:58:23 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=185</guid>
		<description><![CDATA[To run a ping:
On your computer Click Start
Click Run&#8230;
Open: type in cmd
Click OK
At the dos prompt type in: ping yourdomain.com
This will provide you with the IP of your website and it will show whether or not you were able to ping your site successfully.  Note &#8211; if the ping fails with a timeout it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>To run a ping:<br />
On your computer Click Start<br />
Click Run&#8230;<br />
Open: type in cmd<br />
Click OK<br />
At the dos prompt type in: ping yourdomain.com<br />
This will provide you with the IP of your website and it will show whether or not you were able to ping your site successfully.  Note &#8211; if the ping fails with a timeout it&#8217;s possible that your provider has ICMP packets disabled which will cause your ping to fail even when your site is online.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/miscellaneous/how-to-ping-your-website-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable mod security</title>
		<link>http://serversitters.com/technical/apache/disable-mod-security/</link>
		<comments>http://serversitters.com/technical/apache/disable-mod-security/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 06:55:45 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=183</guid>
		<description><![CDATA[It&#8217;s easy to disable mod security, however the fix varies depending upon the version of mod_security and the way that it has been installed.  For mod_security 1.X try the following in a .htaccess within the user&#8217;s home folder:
SecFilterEngine Off
If that causes a site error or it doesn&#8217;t work you&#8217;re most likely using mod security [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s easy to disable mod security, however the fix varies depending upon the version of mod_security and the way that it has been installed.  For mod_security 1.X try the following in a .htaccess within the user&#8217;s home folder:<br />
SecFilterEngine Off</p>
<p>If that causes a site error or it doesn&#8217;t work you&#8217;re most likely using mod security 2.X.  To disable mod security on version 2.X:<br />
First you have to find the path to your whitelist file.  To find this cd into your apache configuration folder.  On cpanel you would run:<br />
cd /usr/local/apache/conf<br />
Then run:<br />
grep whitelist *|grep modsec</p>
<p>This should show you the exact location of your whitelist file.  If the file doesn&#8217;t exist create it using touch or vi.  Once the file has been created add the following:<br />
SecRule SERVER_NAME &#8220;yourdomain.com&#8221; phase:1,nolog,allow,ctl:ruleEngine=off<br />
Be sure to replace yourdomain.com with the domain that you want to disable mod security on.  Then save the file and restart apache.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/apache/disable-mod-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cpanel mutliple sites on one IP Address</title>
		<link>http://serversitters.com/technical/cpanel/cpanel-mutliple-sites-on-one-ip/</link>
		<comments>http://serversitters.com/technical/cpanel/cpanel-mutliple-sites-on-one-ip/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 23:14:41 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Cpanel]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=179</guid>
		<description><![CDATA[This is a sticky unsupported subject.  By default you can have site&#8217;s with dedicated IP addresses, sites on &#8220;A&#8221; shared IP address, or you can have a site that has addon domains within the same account that shares the shared or dedicated IP for that account.  However, we recently worked with a client [...]]]></description>
			<content:encoded><![CDATA[<p>This is a sticky unsupported subject.  By default you can have site&#8217;s with dedicated IP addresses, sites on &#8220;A&#8221; shared IP address, or you can have a site that has addon domains within the same account that shares the shared or dedicated IP for that account.  However, we recently worked with a client and their requirement was to group accounts by client and then assign each group a separate IP address.  We encountered problems at first because we would assign one site an IP address.  We would then use the Change Site&#8217;s IP Address tool or the Change Multiple Sites&#8217; IP Addresses tool and the IP for the group of accounts wasn&#8217;t there.  Here&#8217;s a quick fix:</p>
<p><strong>Share IP addresses for a select set of accounts in cpanel:</strong></p>
<p>Lets say you have domain1.com, domain2.com, and domain3.com on the same server and you want to keep them as individual accounts while allowing them to share an IP address.<br />
1.) Login to the WHM and click Show IP Address Usage<br />
2.) Find an available IP address that you would like to use and Copy it<br />
3.) Click on Basic cPanel/WHM Setup &#8211; Main Shared Virtual Host IP &#8211; This should be your primary server IP (Write down this IP for future reference).  Update this with the newly copied IP address that you&#8217;d like to use and click Save Changes<br />
 &#8211; Note this does not change any sites to this IP<br />
4.) Click Change Multiple Sites&#8217; IP Addresses<br />
Locate and check the domains that should share this new IP i.e. domain1.com, domain2.com, domain3.com<br />
5.) Click Change IPs of Selected Accounts<br />
6.) Next to each site there should be a drop down box.  Select the last option in each drop down box which should read:<br />
0.0.0.0 (main shared IP) where 0.0.0.0 is the new IP for the sites to share<br />
7.) Click Change IPs</p>
<p>You now have a group of accounts sharing the same IP in cpanel!</p>
<p>Important! &#8211; Once you are done Click on Basic cPanel/WHM Setup &#8211; Main Shared Virtual Host IP &#8211; replace this value with the original Main Shared Virtual Host IP and click Save Changes.  If you don&#8217;t newly created accounts will receive the IP address that you just setup for a specific group.</p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/cpanel/cpanel-mutliple-sites-on-one-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmail whitelist IP from RBL checks</title>
		<link>http://serversitters.com/technical/qmail/qmail-whitelist-ip-from-rbl-checks/</link>
		<comments>http://serversitters.com/technical/qmail/qmail-whitelist-ip-from-rbl-checks/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 02:22:06 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[HSphere]]></category>
		<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=177</guid>
		<description><![CDATA[In hsphere you can whitelist an IP from RBL checks by using the following:
Edit/Create the file:
/hsphere/local/var/vpopmail/etc/tcp.smtp
Add the following:

#whitelist IP addresses
$IP1:allow,RBLSMTPD=""
$IP2:allow,RBLSMTPD=""

Then: Recompile via Command Line option

cd /hsphere/local/var/vpopmail/etc/
/hsphere/shared/bin/tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp

]]></description>
			<content:encoded><![CDATA[<p>In hsphere you can whitelist an IP from RBL checks by using the following:</p>
<p>Edit/Create the file:<br />
/hsphere/local/var/vpopmail/etc/tcp.smtp<br />
Add the following:<br />
<code><br />
#whitelist IP addresses<br />
$IP1:allow,RBLSMTPD=""<br />
$IP2:allow,RBLSMTPD=""<br />
</code></p>
<p>Then: Recompile via Command Line option<br />
<code><br />
cd /hsphere/local/var/vpopmail/etc/<br />
/hsphere/shared/bin/tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/qmail/qmail-whitelist-ip-from-rbl-checks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Number of connections from an IP</title>
		<link>http://serversitters.com/technical/security/number-of-connections-from-an-ip/</link>
		<comments>http://serversitters.com/technical/security/number-of-connections-from-an-ip/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 02:20:01 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=175</guid>
		<description><![CDATA[We have seen a huge increase in individual servers/IP&#8217;s attempting to flood a server or brute force a particular account.   Here&#8217;s a great way to check the number of connections being made from each IP that is connected to your server:

netstat -an&#124;awk '{print $5}'&#124;cut -d ":" -f1&#124;sort&#124;uniq -c&#124;sort -n

We will post an automated [...]]]></description>
			<content:encoded><![CDATA[<p>We have seen a huge increase in individual servers/IP&#8217;s attempting to flood a server or brute force a particular account.   Here&#8217;s a great way to check the number of connections being made from each IP that is connected to your server:</p>
<p><code><br />
netstat -an|awk '{print $5}'|cut -d ":" -f1|sort|uniq -c|sort -n<br />
</code></p>
<p>We will post an automated method to check for an excessive number of connections and then block the IP&#8217;s if they hit a certain threshold.  However, that article won&#8217;t be ready for a few days.  </p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/security/number-of-connections-from-an-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DSM password protect folder</title>
		<link>http://serversitters.com/technical/dsm/dsm-password-protect-folder/</link>
		<comments>http://serversitters.com/technical/dsm/dsm-password-protect-folder/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 02:05:42 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[DSM]]></category>

		<guid isPermaLink="false">http://serversitters.com/technical/?p=173</guid>
		<description><![CDATA[The Alabanza system uses the DSM and a custom control panel.  Here&#8217;s how to password protect a folder in their system:
You cannot password protect specific files, instead you must password protect an entire folder and then any files within it are automatically password protected. For example &#8211; here&#8217;s your folder structure: 
/home/user/domain-www
the domain-www is [...]]]></description>
			<content:encoded><![CDATA[<p>The Alabanza system uses the DSM and a custom control panel.  Here&#8217;s how to password protect a folder in their system:</p>
<p>You cannot password protect specific files, instead you must password protect an entire folder and then any files within it are automatically password protected. For example &#8211; here&#8217;s your folder structure: </p>
<p>/home/user/domain-www<br />
the domain-www is the folder you place all of your files in for people to access your site. Lets say you have a set of files that you want password protected. You would simply create another folder in the domain-www folder &#8211; lets call it protected.<br />
Now you would have:<br />
/home/user/domain-www/protected/ &#8211; upload all of the protected files into that folder. Then login to your control panel and choose the Protect Directories Option: </p>
<p>Then in the drop down box select:<br />
/home/user/domain-www/protect<br />
Click Load<br />
Another form then appears with User ID and Password &#8211; then simply type in the username you want to protect the directory and the according password and click Submit. </p>
<p>You can repeat this as many times as you&#8217;d like to add multiple users to that directory. </p>
]]></content:encoded>
			<wfw:commentRss>http://serversitters.com/technical/dsm/dsm-password-protect-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
