<?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>webteches.com</title>
	<atom:link href="http://www.webteches.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webteches.com</link>
	<description>Linux solutions</description>
	<lastBuildDate>Wed, 24 Jun 2009 02:35:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Parked Domain and Addon Domain</title>
		<link>http://www.webteches.com/parked-domain-and-addon-domain/</link>
		<comments>http://www.webteches.com/parked-domain-and-addon-domain/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:04:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.webteches.com/?p=165</guid>
		<description><![CDATA[Addon Domain :: Addon domains can be added to your hosting account as an upgrade. They allow you to have more than one independent website sharing the resources of your hosting account.
[ consider your addon domain name as addondomain.com ]
There are 3 ways of accessing an addon domain:
1. addondomain.com
2. main-domain.com/addondomain
3. addondomain.main-domain.com
Parked Domain :: A parked [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Addon Domain</strong> :: Addon domains can be added to your hosting account as an upgrade. They allow you to have more than one independent website sharing the resources of your hosting account.</p>
<p>[ consider your addon domain name as addondomain.com ]<br />
There are 3 ways of accessing an addon domain:<br />
1. addondomain.com<br />
2. main-domain.com/addondomain<br />
3. addondomain.main-domain.com</p>
<p><strong>Parked Domain</strong> :: A parked domain is one which simply points to an existing domain. It is an other domain which is parked on to the main domain. Consider a domain &#8220;parked.com&#8221; which is parked on the &#8220;main-domain.com&#8221;. If we access parked.com it will be directed to the main-domain.com and you will get the same page as you see while accessing main-domain.com. The parked domain should also point to the same nameservers as the main-domain.com. The park domain name should be registered.</p>
<p>Make sure the Name servers for the othersite.com (addon OR parked) has the same Name servers registered that of main site.</p>
<p style="text-align: center;"><a title="Cheap Dedicated Servers" rel="http://www.eUKhost.com/dedicated-server-hosting.php" href="http://www.eUKhost.com/dedicated-server-hosting.php" target="_blank"><img class="aligncenter size-full wp-image-172" title="Cheap Dedicated Servers" src="http://www.webteches.com/wp-content/uploads/2009/06/596x84.gif" alt="596x84" width="477" height="67" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/parked-domain-and-addon-domain/feed/</wfw:commentRss>
		<slash:comments>713</slash:comments>
		</item>
		<item>
		<title>how to ping from MAC OS ?</title>
		<link>http://www.webteches.com/how-to-ping-from-mac-os/</link>
		<comments>http://www.webteches.com/how-to-ping-from-mac-os/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 02:40:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.webteches.com/?p=149</guid>
		<description><![CDATA[1.       Double-click on the Hard Drive icon &#62;&#62; Applications folder &#62;&#62; Utilities folder &#62;&#62; Network Utility program
2.       Select the Ping tab and enter the hostname, where hostname can be a domain name, a machine name or an IP address.
3.       Press Enter.

]]></description>
			<content:encoded><![CDATA[<p>1.       Double-click on the Hard Drive icon &gt;&gt; Applications folder &gt;&gt; Utilities folder &gt;&gt; Network Utility program<br />
2.       Select the Ping tab and enter the hostname, where hostname can be a domain name, a machine name or an IP address.<br />
3.       Press Enter.</p>
<p style="text-align: center;"><a href="http://www.eUKhost.com" target="_blank"><img class="size-full wp-image-158 aligncenter" title="100% Customer Satisfaction" src="http://www.webteches.com/wp-content/uploads/2009/06/banner116.gif" alt="100% Customer Satisfaction" width="468" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/how-to-ping-from-mac-os/feed/</wfw:commentRss>
		<slash:comments>715</slash:comments>
		</item>
		<item>
		<title>redirects from www and to www</title>
		<link>http://www.webteches.com/redirects-from-www-and-to-www/</link>
		<comments>http://www.webteches.com/redirects-from-www-and-to-www/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 01:57:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux techies]]></category>

		<guid isPermaLink="false">http://www.webteches.com/?p=143</guid>
		<description><![CDATA[How to setup redirects for domain.com to www.domain.com and vice versa ?
Create a .htaccess file under the root directory and add the code below
Redirect www.domain.com to domain.com
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
Redirect domain.com to www.domain.com
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
Save the file and exit and give it a try [...]]]></description>
			<content:encoded><![CDATA[<p>How to setup redirects for domain.com to www.domain.com and vice versa ?</p>
<p>Create a .htaccess file under the root directory and add the code below</p>
<p>Redirect www.domain.com to domain.com</p>
<blockquote><p>Options +FollowSymLinks<br />
RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^www.domain\.com$ [NC]<br />
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]</p></blockquote>
<p>Redirect domain.com to www.domain.com</p>
<blockquote><p>Options +FollowSymLinks<br />
RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]<br />
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]</p></blockquote>
<p>Save the file and exit and give it a try once <img src='http://www.webteches.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/redirects-from-www-and-to-www/feed/</wfw:commentRss>
		<slash:comments>6498</slash:comments>
		</item>
		<item>
		<title>upgrade mysql on cPanel server</title>
		<link>http://www.webteches.com/upgrade-mysql-on-cpanel-server/</link>
		<comments>http://www.webteches.com/upgrade-mysql-on-cpanel-server/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 01:37:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux techies]]></category>

		<guid isPermaLink="false">http://www.webteches.com/?p=130</guid>
		<description><![CDATA[How to upgrade mysql on cPanel servers ?
Login to WHM with root user and access the option Server Configuration &#62;&#62; Tweak Settings. Look for MySQL and check the radio button for 5.0 from 4.1 OR login to the server via SSH and open the file /var/cpanel/cpanel.config and find for mysql-version. Change it to 5.0 from 4.1. Save [...]]]></description>
			<content:encoded><![CDATA[<p>How to upgrade mysql on cPanel servers ?</p>
<p><span style="color: #000000;">Login to WHM with root user and access the option Server Configuration &gt;&gt; Tweak Settings. Look for </span>MySQL and check the radio button for 5.0 from 4.1 OR login to the server via SSH and open the file /var/cpanel/cpanel.config and find for mysql-version. Change it to 5.0 from 4.1. Save the file and exit. Now execute the commands on the server to upgrade the mysql version.</p>
<blockquote><p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --></p>
<p><!--[endif]--><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">/scripts/upcp &#8211;force</span></p>
<p><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">/scripts/mysqlup &#8211;force</span></p></blockquote>
<p><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Wait for mysql to upgrade. Once the process is completed, check the mysql version.</span></p>
<p style="text-align: center;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><a href="http://www.eUKhost.com"><img class="aligncenter size-full wp-image-140" title="Your trusted business partner !" src="http://www.webteches.com/wp-content/uploads/2009/06/banner114.gif" alt="banner114" width="374" height="48" /></a><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/upgrade-mysql-on-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>241</slash:comments>
		</item>
		<item>
		<title>PHP Parse error: syntax error, unexpected T_STRING</title>
		<link>http://www.webteches.com/php-parse-error-syntax-error-unexpected-t_string/</link>
		<comments>http://www.webteches.com/php-parse-error-syntax-error-unexpected-t_string/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux techies]]></category>

		<guid isPermaLink="false">http://www.webteches.com/?p=124</guid>
		<description><![CDATA[If you receive such error in the error logs or in the browser please follow the steps below.
For non suexec/suphp servers
Create a .htaccess file under the diretcory and add the code below
php_flag short_open_tag X
For suexec/suphp servers
Copy the server&#8217;s php.ini file under the diretcory and find for short_open_tag. Open the php.ini file and change it to
short_open_tag [...]]]></description>
			<content:encoded><![CDATA[<p>If you receive such error in the error logs or in the browser please follow the steps below.</p>
<p><strong>For non suexec/suphp servers</strong></p>
<p>Create a .htaccess file under the diretcory and add the code below</p>
<blockquote><p>php_flag short_open_tag X</p></blockquote>
<p><strong>For </strong><strong>suexec/suphp servers</strong></p>
<p>Copy the server&#8217;s php.ini file under the diretcory and find for short_open_tag. Open the php.ini file and change it to</p>
<blockquote><p>short_open_tag = X</p></blockquote>
<p>Note :: The solution is valid only if you find the error due to line in your php/html file.<br />
HTML Code:</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;iso-8859-1&#8243;?&gt;<br />
OR<br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/php-parse-error-syntax-error-unexpected-t_string/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>mail troubleshooting</title>
		<link>http://www.webteches.com/mail-troubleshooting/</link>
		<comments>http://www.webteches.com/mail-troubleshooting/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 20:09:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sever Administration]]></category>

		<guid isPermaLink="false">http://webteches.com/?p=112</guid>
		<description><![CDATA[Go through this post to troubleshoot mail issues on your server..
Check emails in mail queue
root@server [~]# exim -bp
Count number of emails in mail queue
root@server [~]# exim -bpc
Count number of frozen emails in mail queue
root@server [~]# exim -bp &#124; grep frozen &#124; wc -l
Delete forzen emails from the mail queue
exim -bp &#124; awk &#8216;$6~&#8221;frozen&#8221; { print [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Go through this post to troubleshoot mail issues on your server..</strong></p>
<p>Check emails in mail queue</p>
<blockquote><p>root@server [~]# exim -bp</p></blockquote>
<p>Count number of emails in mail queue</p>
<blockquote><p>root@server [~]# exim -bpc</p></blockquote>
<p>Count number of frozen emails in mail queue</p>
<blockquote><p>root@server [~]# exim -bp | grep frozen | wc -l</p></blockquote>
<p>Delete forzen emails from the mail queue</p>
<blockquote><p>exim -bp | awk &#8216;$6~&#8221;frozen&#8221; { print $3 }&#8217; | xargs exim -Mrm</p></blockquote>
<p>Count emails for an email account/domain</p>
<blockquote><p>exim -bp | grep  username@domain.com | wc -l</p></blockquote>
<p>Delete emails for an email account</p>
<blockquote><p>exim -bp | grep  username@domain.com  | awk &#8216;{print $3}&#8217; | xargs exim -Mrm ;</p></blockquote>
<p>Delete emails sent through scripts</p>
<blockquote><p>exim -bp | grep &#8220;&lt;&gt;&#8221; | awk {&#8216;print $3}&#8217; | xargs exim -Mrm</p></blockquote>
<p>Count number of emails in queue for a domain/email account</p>
<blockquote><p>exim -bp | tr &#8216;\n&#8217; + | sed -e &#8220;s/++/=/g&#8221; | tr -d + | tr = &#8216;\n&#8217; | awk &#8216;{print $5}&#8217; | sort -n | uniq -c | sort -n</p></blockquote>
<p>Delete emails for root</p>
<blockquote><p>exim -bp | grep  root@server.hostname.com  | awk &#8216;{print $3}&#8217; | xargs exim -Mrm ;</p></blockquote>
<p>Hope this helps to troubleshoot mail issues on the server <img src='http://www.webteches.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.eUKhost.com"><img class="aligncenter size-full wp-image-120" title="eUKhost" src="http://webteches.com/wp-content/uploads/2009/06/banner113.gif" alt="eUKhost" width="468" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/mail-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Warning: Cannot modify header information &#8211; headers already sent by output started at</title>
		<link>http://www.webteches.com/warning-cannot-modify-header-information-headers-already-sent-by-output-started-at/</link>
		<comments>http://www.webteches.com/warning-cannot-modify-header-information-headers-already-sent-by-output-started-at/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 02:24:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux techies]]></category>

		<guid isPermaLink="false">http://webteches.com/?p=108</guid>
		<description><![CDATA[If you receive such error in the error logs OR in the browser make sure output_buffering is set to On in the php.ini file on the server.
If you are on a su-exec/su-php enabled server, copy the original php.ini from the server under the account and make the changes.
What is output_buffering ?
Output buffering allows you to [...]]]></description>
			<content:encoded><![CDATA[<p>If you receive such error in the error logs OR in the browser make sure output_buffering is set to On in the php.ini file on the server.</p>
<p>If you are on a su-exec/su-php enabled server, copy the original php.ini from the server under the account and make the changes.</p>
<p><strong>What is output_buffering ?</strong></p>
<p>Output buffering allows you to send header lines (including cookies) even<br />
after you send body content, at the price of slowing PHP&#8217;s output layer a<br />
bit.  You can enable output buffering during runtime by calling the output<br />
buffering functions.  You can also enable output buffering for all files by<br />
setting this directive to On.  If you wish to limit the size of the buffer<br />
to a certain size &#8211; you can use a maximum number of bytes instead of &#8216;On&#8217;, as<br />
a value for this directive (e.g., output_buffering=4096).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/warning-cannot-modify-header-information-headers-already-sent-by-output-started-at/feed/</wfw:commentRss>
		<slash:comments>8015</slash:comments>
		</item>
		<item>
		<title>account backup without home diretcory</title>
		<link>http://www.webteches.com/account-backup-without-home-diretcory/</link>
		<comments>http://www.webteches.com/account-backup-without-home-diretcory/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 20:55:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[cPanel/WHM Specific]]></category>

		<guid isPermaLink="false">http://webteches.com/?p=96</guid>
		<description><![CDATA[What if you want to generate the account backup without the home diretcory ?
Here is the command to exclude/skip home diretcory
root@server [~]# /scripts/pkgacct &#8211;skiphomedir username
Note :: Here username is  actual cPanel username.

]]></description>
			<content:encoded><![CDATA[<p>What if you want to generate the account backup without the home diretcory ?</p>
<p>Here is the command to exclude/skip home diretcory</p>
<blockquote><p>root@server [~]# /scripts/pkgacct &#8211;skiphomedir username</p></blockquote>
<p>Note :: Here username is  actual cPanel username.</p>
<p><a href="http://eUKhost.com"><img class="aligncenter size-full wp-image-103" title="eUKhost" src="http://webteches.com/wp-content/uploads/2009/06/banner111.gif" alt="eUKhost" width="468" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/account-backup-without-home-diretcory/feed/</wfw:commentRss>
		<slash:comments>159</slash:comments>
		</item>
		<item>
		<title>disable .htaccess for domain account</title>
		<link>http://www.webteches.com/disable-htaccess-for-domain-account/</link>
		<comments>http://www.webteches.com/disable-htaccess-for-domain-account/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 00:12:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux techies]]></category>

		<guid isPermaLink="false">http://webteches.com/?p=92</guid>
		<description><![CDATA[How to disable .htacess access for a particular account/domain ?
You can disable .htaccess for a particular domain by editing the /etc/httpd/conf/httpd.conf file &#38; following the below mentioned steps:
Open the /etc/httpd/conf/httpd.conf file.
Search for the &#8220;AllowOverride None&#8221; string.
&#60;Directory &#8220;/&#8221;&#62;
AllowOverride None
&#60;/Directory&#62;
Append it by:
&#60;Directory &#8220;/home/username/public_html&#8221;&#62;
AllowOverride None
&#60;/Directory&#62;
Such that it looks like:
&#60;Directory &#8220;/&#8221;&#62;
AllowOverride None
&#60;/Directory&#62;
&#60;Directory &#8220;/home/username/public_html&#8221;&#62;
AllowOverride None
&#60;/Directory&#62;
Restart the httpd/apache service on the [...]]]></description>
			<content:encoded><![CDATA[<p>How to disable .htacess access for a particular account/domain ?</p>
<p>You can disable <span class="highlight">.htaccess</span> for a particular domain by editing the /etc/httpd/conf/httpd.conf file &amp; following the below mentioned steps:</p>
<p>Open the /etc/httpd/conf/httpd.conf file.<br />
Search for the &#8220;AllowOverride None&#8221; string.</p>
<blockquote><p>&lt;Directory &#8220;/&#8221;&gt;<br />
AllowOverride None<br />
&lt;/Directory&gt;</p></blockquote>
<p>Append it by:</p>
<blockquote><p>&lt;Directory &#8220;/home/username/public_html&#8221;&gt;<br />
AllowOverride None<br />
&lt;/Directory&gt;</p></blockquote>
<p>Such that it looks like:</p>
<blockquote><p>&lt;Directory &#8220;/&#8221;&gt;<br />
AllowOverride None<br />
&lt;/Directory&gt;</p>
<p>&lt;Directory &#8220;/home/username/public_html&#8221;&gt;<br />
AllowOverride None<br />
&lt;/Directory&gt;</p></blockquote>
<p>Restart the httpd/apache service on the server</p>
<p>This would disable the .htaccess for that particular account/domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/disable-htaccess-for-domain-account/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Upload images through cubecart</title>
		<link>http://www.webteches.com/upload-images-through-cubecart/</link>
		<comments>http://www.webteches.com/upload-images-through-cubecart/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 02:43:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Third party softwares]]></category>

		<guid isPermaLink="false">http://webteches.com/?p=81</guid>
		<description><![CDATA[If you are not able to upload the images via cubecart admin panel, then it seems to be an issue with the permissions on the diretcory under your account. Please follow the steps below
Change permissions for the diretcory &#8220;cart/images/uploads&#8221; to 777
Change permissionsfor diretcory &#8220;cart/images/uploads/thumbs&#8221; to 777.
You are done ! Try uploading the images now.
]]></description>
			<content:encoded><![CDATA[<p>If you are not able to upload the images via cubecart admin panel, then it seems to be an issue with the permissions on the diretcory under your account. Please follow the steps below</p>
<blockquote><p>Change permissions for the diretcory &#8220;cart/images/uploads&#8221; to 777</p>
<p>Change permissionsfor diretcory &#8220;cart/images/uploads/thumbs&#8221; to 777.</p></blockquote>
<p>You are done ! Try uploading the images now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webteches.com/upload-images-through-cubecart/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
