<?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 Manual &#187; Tutorials</title>
	<atom:link href="http://www.servermanual.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.servermanual.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 12:41:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating a 301 Permanent Redirect in Apache</title>
		<link>http://www.servermanual.com/tutorials/creating-a-301-permanent-redirect-in-apache/</link>
		<comments>http://www.servermanual.com/tutorials/creating-a-301-permanent-redirect-in-apache/#comments</comments>
		<pubDate>Sat, 21 May 2011 03:42:36 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.servermanual.com/?p=156</guid>
		<description><![CDATA[The Redirect Solution Ever run into so many 404 “Page Not Found” errors while browsing the web that you started to see red? If so, you are certainly not alone. Running into a dead end when you were expecting to see useful, relevant information can be very frustrating. Considering the number of 404 errors that [...]]]></description>
			<content:encoded><![CDATA[<p>The Redirect Solution<br />
Ever run into so many 404 “Page Not Found” errors while browsing the web  that you started to see red? If so, you are certainly not alone.  Running into a dead end when you were expecting to see useful, relevant  information can be very frustrating. Considering the number of 404  errors that exist on the web, you may be surprised to learn that there’s  actually a pretty simple way to redirect users when you move a page, or  even when you delete one.<br />
This solution is something called a 301 Permanent Redirect. Unlike those  aggravating 404 errors, the 301 will actually send users to a URL you  specify. It will also let Google and other search engines know that  you’ve done this, so they can update their own records and send users to  the right place first time around. The best thing is that you don’t  have to mess around with javascript to create a manual redirection  page—search engines will do all the work for you.<br />
Although there are ways to do this regardless of which server software  you’re using, this tutorial is only going to cover how to create a 301  redirect in Apache.</p>
<p><span id="more-156"></span></p>
<p>Getting Started<br />
Before you can create the redirect itself, there are two things you  need to make sure are turned on in your Apache install. The first of  these is something called Mod Rewrite. To turn this one on, simply:<br />
•	Open your Apache configuration file (httpd.conf) in a text editor of some sort<br />
•	Look for a line that says LoadModule rewrite_module modules/mod_rewrite.so<br />
•	If it’s already there, you’re done with the httpd.conf file<br />
•	If the line does not exist, just add it to your configuration file<br />
Once Mod Rewrite is turned on, you need to check one other thing before  you can create your redirect page. Close your configuration file and  look for another file, this one titled .htaccess. The .htaccess file is  usually in your server’s root directory. If you don’t already have one,  you can create a blank file and rename it .htaccess. You will need  .htaccess to make the 301 permanent redirect work, so you will have to  create one in any case.<br />
In the .htaccess file you are going to look for a line that says:<br />
•	RewriteEngine ON<br />
•	If you don’t see this, add it to the file<br />
Now you’re ready to redirect some web pages!</p>
<p>How to implement a 301 Redirect<br />
One of the most useful things about the 301 permanent redirect is that  it can be used in a variety of situations. You can redirect a single web  page, leave the page names the same but change the directory name,  redirect pages and directories, or flat-out move your entire existing  website to a new domain. Regardless of how you use the 301 permanent  redirect, you’ll need to keep that .htaccess file open—that’s where  you’ll be making all your changes to put the redirect into effect.<br />
Simply find the type of permanent redirect you need in the list below  and put the code a few lines below where you added the Rewrite Engine  code, and you should be in business.</p>
<p>Redirect Types and Code<br />
•	Redirecting a single page:<br />
Redirect 301 /originalURL.html http://www.mysite.com/newURL.html<br />
(note that this all goes on one line)<br />
•	Adding WWW to the front of your URL:<br />
RewriteCond %{HTTP_HOST} ^WebSiteURL.net<br />
RewriteRule (.*) http://www.WebSiteURL.net/$1 [R=301,L]<br />
(two lines of code)<br />
•	Deleting an old directory and redirecting to a different one:<br />
redirectMatch 301 ^/photocopies/ http://www.WebSiteURL.net/oldpages/<br />
(one line of code)<br />
Note that you can also redirect to a single page instead of a new directory:<br />
redirectMatch 301 ^/photocopies/ http://www.WebSiteURL.net/scans.html<br />
(again, one line of code)<br />
•	Changing the name of a directory to something else:<br />
redirect 301 /photocopies/ http://www.mysite.com/scannedimages/<br />
(one line of code)</p>
<p>Changes to your .htaccess file take place instantly, so after you&#8217;ve  added a rule, save the file and refresh to page to make sure it&#8217;s  worked. Those annoying 404 pages are gone forever!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servermanual.com/tutorials/creating-a-301-permanent-redirect-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cpanel Tutorials &#8211; How To Avoid Spam Using SpamAssasin</title>
		<link>http://www.servermanual.com/tutorials/cpanel-tutorials-how-to-avoid-spam-using-spamassasin/</link>
		<comments>http://www.servermanual.com/tutorials/cpanel-tutorials-how-to-avoid-spam-using-spamassasin/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 03:36:45 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.servermanual.com/?p=136</guid>
		<description><![CDATA[Spam Assassin is a program that is designed to filter spam e-mails by using content matching rules. Spam Assassin uses more than one method to avoid spam. For example, Spam Assassin uses DNS based spam detection, Checksum based spam detection, and even Bayesian filtering. Other methods include blacklisting and white listing. Spam Assassin is based [...]]]></description>
			<content:encoded><![CDATA[<p>Spam Assassin is a program that is designed to filter spam e-mails by  using content matching rules. Spam Assassin uses more than one method to  avoid spam. For example, Spam Assassin uses DNS based spam detection,  Checksum based spam detection, and even Bayesian filtering. Other  methods include blacklisting and white listing.</p>
<p><span id="more-136"></span></p>
<p>Spam Assassin is based on Perl. It filters all types of spam messages by  obeying a very large set of rules. However, it is possible to configure  Spam Assassin. It can be configured in order to determine whether or  not certain types of mail or spam or not. You can configure Spam  Assassin to determine whether e-mails are spam by looking at the  subject, the body, and the &#8220;from&#8221; fields in the message. Other  techniques to configure Spam Assassin through CPanel include blacklist  and white list. You can also automatically delete spam messages or  automatically send suspected spam messages to a different folder.</p>
<p>Using Spam Assassin with CPanel</p>
<p>You can access Spam Assassin through your CPanel account by going to the  home page of your CPanel account. Once you have done this, you need to  click on the icon labeled as “SpamAssassin.” Then go to mail. Click on  the icon labeled “enable spamassassin.” Once you have clicked on this  icon, you will receive a confirmation message. After you have enabled  Spam Assassin, simply click on the “go back” icon. You can now configure  Spam Assassin to your liking.</p>
<p>How to Configure Spam Assassin through CPanel</p>
<p>Configuring Spam Assassin through your CPanel account is a simple  process. However, it can become overwhelming. This is mainly because  there are so many available options for you. For example, if you want  all of the e-mail messages that are identified as spam to go into the  spam folder, you hit the icon labeled as “enable spam box.” This is not  where all of the Spam Assassin configuring takes place. After you hit  this icon, you can click on “go back.” You will be brought to a page  where you should see an icon that is labeled “configure spamassassin.”  Clicking on this icon will allow you to change how aggressive Spam  Assassin is when examining your e-mail. You can decide what e-mails you  actually receive and what e-mails are automatically deleted.</p>
<p>When you are trying to configure your Spam Assassin account, you should  keep in mind that Spam Assassin scores every e-mail on a plane of one to  ten. The higher the e-mail’s score is, the higher the chance is of the  e-mail being spam. You can make a setting of one through ten for Spam  Assassin. This will determine how thorough Spam Assassin is when  examining e-mail. A setting of five or six usually gives you optimum  performance. When Spam Assassin is rated at six, all e-mails that are  rated at six or more will be automatically deleted or automatically sent  to your Spam box. If you set Spam Assassin at a higher setting, you are  decreasing the chance of receiving an e-mail that could potentially be  spam. This means that almost all of your e-mails will be useful in some  way or another.</p>
<p>Available Spam Assassin Configurations</p>
<p>Many options allow you to configure Spam Assassin. For example,  “Required Score” allows you to say that all e-mails scored at a certain  number is automatically spam. The default setting is five.</p>
<p>“Rewrite Header Subject” allows you to add text to the subject line if an e-mail is marked as spam.</p>
<p>“Blacklist From” is a feature that allows you to enter e-mail addresses  that will always be marked as spam. “White List From” is a feature that  allows you to enter e-mail addresses that will never be marked as spam.</p>
<p>These available Spam Assassin configurations are designed to allow you  to create a Spam Assassin program that works specifically for your  needs. Once you understand how Spam Assassin works, it is easy for you  to make it do what you want it to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servermanual.com/tutorials/cpanel-tutorials-how-to-avoid-spam-using-spamassasin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Set up Email in cPanel</title>
		<link>http://www.servermanual.com/tutorials/how-to-set-up-email-in-cpanel/</link>
		<comments>http://www.servermanual.com/tutorials/how-to-set-up-email-in-cpanel/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 03:36:16 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.servermanual.com/?p=134</guid>
		<description><![CDATA[If you recently bought a web hosting account from a hosting provider, you will probably have cPanel as your administration interface. CPanel is an industry leader in web hosting administration. Most web hosting providers use cPanel for their clients’ web hosting administration interface. CPanel is a web hosting control panel that provides automation tools to [...]]]></description>
			<content:encoded><![CDATA[<p>If you recently bought a web hosting account from a hosting provider,  you will probably have cPanel as your administration interface. CPanel  is an industry leader in web hosting administration. Most web hosting  providers use cPanel for their clients’ web hosting administration  interface.</p>
<p><span id="more-134"></span></p>
<p>CPanel is a web hosting control panel that provides automation tools to  simplify web hosting applications. It has a very user – friendly  graphical user interface (GUI). All administration is done through a  standard web browser, which makes it extremely portable. There is no  need to install any software on your computer.</p>
<p>One of the features that can be easily done in cPanel is setting up your  emails. This is fairly simple to do since everything in cPanel is just  point and click. The following are detailed steps on how to set up email  accounts on cPanel:</p>
<p>1. Log on to your cPanel account. Your web hosting provider should have  given you the web address (URL) for the cPanel login page, usually this  is http://your-domain-name/cpanel.</p>
<p>2. Click on the “Email Accounts” icon.</p>
<p>3. On the Email field, type in an email address. If you have add-on  domains or sub-domains on your cPanel, there will be a drop down box  where you can select which one you want to use. If you only have a  single domain, it will default to that domain.</p>
<p>4. On the Password fields, type in your desired password. Make sure you  create strong passwords. Accounts can be compromised if you use weak  passwords. It is a good practice to include capital letters, numbers and  punctuations. The cPanel interface actually has a password strength  indicator that can tell you if your password is strong enough.</p>
<p>5. On the Mailbox Quota field, you can set how much disk space is  allocated for this email address, or you can set it to unlimited. Note  that attachments on emails also take up space.</p>
<p>6. Click “Create Account”.</p>
<p>That’s it. You have just created an email account. Just repeat the above  steps to create another account. The email accounts that you make will  be listed below the account creation part of the interface. You can do  individual email account management on this part, like resetting a  password, changing disk quota and deleting the account.</p>
<p>There is a default email account that comes with your cPanel. It is not  possible to delete this account and it has no quota. It is used by the  system to catch mail that is un-routed. The username and password of the  default account is the same as your cPanel account login.</p>
<p>There are also other email functions that you can configure on cPanel.  You can set forwarders for your email accounts. Forwarders are used if  you want emails to a particular address to be forwarded to another email  account. You can specify any valid email account to forward to. You can  also set autoresponders. Autoresponders are used to automatically send  response messages. This is especially useful in cases where the  recipient is temporarily unavailable. You can create an autoresponder  informing the sender that the user of that particular email address is  unavailable.</p>
<p>Your hosting provider may incorporate spam protection for your emails.  SpamAssassin is usually used for this purpose. SpamAssassin is an  automated spam filtering system. It attempts to identify spam emails  based on the content of the email’s headers and body. You can set the  sensitivity of the filter and put email addresses on black or white  lists. The emails that you put on the white list will always arrive in  your inbox and will never be filtered by SpamAssassin. The ones you put  on the black list, on the other hand, will always be blocked. You also  have the option to turn this system off.</p>
<p>Email set-up and administration is an important part of being a  webmaster. Websites and emails often go hand in hand. Thankfully, cPanel  makes the task of web and email administration straightforward and  easy. You no longer need to deal with command line texts to configure  web and email properties in your hosting account.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.servermanual.com/tutorials/how-to-set-up-email-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

