<?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>NewSourceMedia Blog &#187; Web Servers</title>
	<atom:link href="http://newsourcemedia.com/blog/category/web-servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Mon, 07 May 2012 01:26:28 +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>Upgrade Server Settings Sync Problem with Perallels Plesk</title>
		<link>http://newsourcemedia.com/blog/perallels-plesk-upgrade-server-problem/</link>
		<comments>http://newsourcemedia.com/blog/perallels-plesk-upgrade-server-problem/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 19:12:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=824</guid>
		<description><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/perallels-plesk-upgrade-server-problem/"><img title="Upgrade Server Settings Sync Problem with Perallels Plesk" src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/plesk-300x163.png" alt="Upgrade Server Settings Sync Problem with Perallels Plesk" width="200" height="108" /></a></span><br/>Once I upgraded my server increasing RAM from 500 MB to 1 GB and disk space from 20 GB to 30 GB, my plesk panel was out of sync. I check that my server was upgraded viewing Godaddy's default control &#8230; <a href="http://newsourcemedia.com/blog/perallels-plesk-upgrade-server-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/perallels-plesk-upgrade-server-problem/"><img title="Upgrade Server Settings Sync Problem with Perallels Plesk" src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/plesk-300x163.png" alt="Upgrade Server Settings Sync Problem with Perallels Plesk" width="200" height="108" /></a></span><br/><a href="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/plesk.png"><img class="alignnone size-medium wp-image-828" title="plesk" src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/plesk-300x163.png" alt="" width="300" height="163" /></a>

Once I upgraded my server increasing RAM from 500 MB to 1 GB and disk space from 20 GB to 30 GB, my plesk panel was out of sync. I check that my server was upgraded viewing Godaddy's default control panel and also logging in to my server via SSH from the terminal running <strong>df -h </strong>to check disk space and <strong>free -m </strong>to view memory total / usage. The server had been upgraded so now I had to go about fixing the Plesk pannel to refresh. I spent way too much time on the phone with tech support until they pointed me over to their chat service to get in touch with their VDS experts.

Their expert find a refresh button buried in the pannel under the following path:

Tools &amp; Utilities &gt; Server Tools &gt; Services management

I clicked the green arrows labeled refresh on the lop left. That worked so I thought. The home screen now showed accurate info; however the health monitoring was still out of sync. After sufring around on the web, I found a script on my server that needed kick in the rear. Here's the command I ran in the terminal that forced Plesk into rescanning my server settings:

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/perallels-plesk-upgrade-server-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 useful SSH terminal commands.</title>
		<link>http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/</link>
		<comments>http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 02:30:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[virtual server]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=813</guid>
		<description><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/"><img title="Top 10 useful SSH terminal commands." src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1-300x300.png" alt="Top 10 useful SSH terminal commands." width="200" height="200" /></a></span><br/>Now that you have a virtual server setup, you can enjoy the benefits of managing your server as root (super admin). With root level access, you can send commands to your server using a bash terminal. Here are the common &#8230; <a href="http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<span class="image-rss"><a href="http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/"><img title="Top 10 useful SSH terminal commands." src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1-300x300.png" alt="Top 10 useful SSH terminal commands." width="200" height="200" /></a></span><br/><a href="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1.png"><img class="alignnone size-medium wp-image-815" title="img_Terminal" src="http://newsourcemedia.com/blog/wp-content/uploads/2011/09/img_Terminal1-300x300.png" alt="" width="300" height="300" /></a>

Now that you have a virtual server setup, you can enjoy the benefits of managing your server as root (super admin). With root level access, you can send commands to your server using a bash terminal. Here are the common commands:
<ul>
	<li><strong>man</strong> - stands for manual. Very useful command if you are just getting started with Linux. You can invoke 'man', followed by any other Linux command (cd, for example) and it will display detailed description and list of all available options.</li>
	<li><strong>cd</strong> - cd is short for 'change directory'. Allows browsing between different folders of your VPS.</li>
	<li><strong>cp, mv, rm</strong> - great commands for basic file management. You can copy (cp), move (mv) or remove (rm) files/folders this way from your server.</li>
	<li><strong>grep</strong> - grep permits you to print lines that match a particular pattern. Useful if you are looking for a phrase or or line in a large text file (logs, for example).</li>
	<li><strong>ls</strong> - allows you to list the content of a directory. Using "ls -la" will also show you hidden files/directories (those starting with a dot) and additional attributes, such as permissions and ownership.</li>
	<li><strong>chown, chmod</strong> - every file or directory has its own ownerhip rights - user and group. With "chown" you can modify those parameters and "chmod" gives you the ability to change permissions (read, write, execute) for the owner, group and the rest of the users, accessing that file/directory.</li>
	<li><strong>nano, vi </strong>- "nano" and "vi" are probably the two most popular Linux text editors. You may find "nano" easier to use, while "vi" appears as the preferred editor among more experienced.</li>
	<li><strong>top, ps</strong> - "top" provides you with a periodic update (every five seconds by defaut) of running Linux tasks, while "ps" takes a snapshot of all current processes and prints it on your screen.</li>
	<li><strong>df -h, du -hs </strong>- shows you the current overall use of your disk in gygabytes (df -h)."du -hs" calculates the total size of a directory in a human readable format (e.g., 1K 234M 2G).</li>
</ul>
Here are <strong>two bonus</strong> commands for checking <strong>DESK SPACE</strong> and <strong>RAM</strong> usages:

To check out the disk space usage on your server, execute this command:
<strong>df -h</strong>
And to see the memory usage:
<strong>free -m</strong>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/top-10-useful-ssh-terminal-commands/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Change the permissions of a file in SSH</title>
		<link>http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/</link>
		<comments>http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 03:31:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=601</guid>
		<description><![CDATA[More here http://manojkumar.org/some-basic-ssh-and-linux-commands/ <a href="http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[To change the permissions of a file in SSH, once you have logged in, you can use the CHMOD command. Here are a few common examples of CHMOD:<span id="line-17"> </span><span id="line-18"> </span>

chmod number filename<span id="line-19"> </span>
<pre style="background-color: #f3f5f7; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; padding: 5pt; border: 1pt solid #aebdcc;">chmod 600 example.html - This will give the file read and write permissions by the owner only (-rw-------).
chmod 644 example.html - This will give the file read and write permissions by the owner and read by everyone else (-rw-r--r--).
chmod 700 example.html - This will give the file read, write and execute permissions by the owner only (-rwx------).
chmod 755 example.html - This will give the file read, write and execute permissions by the owner, read and execute permissions by the group and others (-rwxr-xr-x)
chmod 666 example.html - This will give the file read and write permissions by everyone(-rw-rw-rw-) (NOT RECOMMENDED)
chmod 777 example.html - This will give the file read, write and execute permissions by everyone (-rwxrwxrwx) (NOT RECOMMENDED)</pre>
<h3 id="head-cd4b3bc8d6be7ec6ccd242b1d4f60d747e0479a8" style="font-size: 9pt; font-weight: bold; color: #333333;">Changing the ownership</h3>
To change the ownership of a file in SSH, you can use the CHOWN command. e.g: chown owner filename
<pre style="background-color: #f3f5f7; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; padding: 5pt; border: 1pt solid #aebdcc;">chown user example.html</pre>
<pre style="background-color: #f3f5f7; font-family: courier, monospace; white-space: pre-wrap; word-wrap: break-word; padding: 5pt; border: 1pt solid #aebdcc;">
<div style="padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; vertical-align: top; margin: 0px; border: 0px initial initial;">
<pre style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; width: auto; float: none; clear: none; overflow-x: visible; overflow-y: visible; font-size: 12px; line-height: 1.333; white-space: pre; font-family: monospace; padding: 0px; margin: 0px; border: 0px initial initial;"><span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #c20cb9; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">chown</span> user:group <span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #000000; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">&lt;</span>directory-name<span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #000000; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">&gt;</span>

<span style="outline-width: 0px; outline-style: initial; outline-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; color: #c20cb9; font-weight: bold; padding: 0px; margin: 0px; border: 0px initial initial;">chown</span> apache avatars</pre>
</div></pre>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/change-the-permissions-of-a-file-in-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup MySQL Database via SSH</title>
		<link>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/</link>
		<comments>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 02:44:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[MySQL / Database]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/</guid>
		<description><![CDATA[First you log in using your terminal application by typing the flowing SSH command: ssh yourusername@hostname-or-ipaddress After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch &#8230; <a href="http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[First you log in using your terminal application by typing the flowing SSH command:

ssh yourusername@hostname-or-ipaddress

After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch to the "root" user. You can do so by typing the following in your terminal window:

su - root

You will have to enter a password once more. Now navagate to where you would like to store your MySQL database file. For an example of changing the directory to the "public_html" direcotry, type this:

cd /var/www/html_public

Now you can back up your db here using the following command. This command will backup all of your databases. I also chose to compress them after the pipe "|" as a gzip file. Type the following but be sure to change the user name and password to your info:

mysqldump -u yourusername -p yourpassword --all-databases | gzip &gt;databasebackup.sql.gz

You can also target single database using the following:

mysqldump -u yourUserName -p yourDBName | gzip &gt;databasebackup.sql.gz]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH Color Definations For File and Folder Names</title>
		<link>http://newsourcemedia.com/blog/what-does-the-colors-mean-in-ssh-lisings/</link>
		<comments>http://newsourcemedia.com/blog/what-does-the-colors-mean-in-ssh-lisings/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 02:12:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[Colors]]></category>
		<category><![CDATA[Directories]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://am3media.com/site/?p=390</guid>
		<description><![CDATA[I’ve always wondered what the directory text color representations were after I logged in to my server via SSH. I did a Google search and found that the colors are references to document states: Here’s a simple color chart below: &#8230; <a href="http://newsourcemedia.com/blog/what-does-the-colors-mean-in-ssh-lisings/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[I’ve always wondered what the directory text color representations were after I logged in to my server via SSH. I did a Google search and found that the colors are references to document states: Here’s a simple color chart below:
<ol>
	<li>Executable files: Green</li>
	<li>Normal file : Normal</li>
	<li>Directory: Blue</li>
	<li>Symbolic link : Cyan</li>
	<li>Pipe: Yellow</li>
	<li>Socket: Magenta</li>
	<li>Block device driver: Bold yellow foreground, with black background</li>
	<li>Character device driver: Bold yellow foreground, with black background</li>
	<li> Orphaned syminks : Blinking Bold white with red background</li>
	<li>Missing links ( the files they point to) : Blinking Bold white with red background</li>
	<li>Archives or compressed : Red (.tar, .gz, .zip, .rpm)</li>
	<li>Image files : Magenta (.jpg, gif, bmp, png, tif)</li>
</ol>
Side Note: You can also list file and folder permissions by using this command:

ls -al /var]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/what-does-the-colors-mean-in-ssh-lisings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash and SEO. Why not?</title>
		<link>http://newsourcemedia.com/blog/flash-and-seo-why-not/</link>
		<comments>http://newsourcemedia.com/blog/flash-and-seo-why-not/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:43:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash AS2]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[Crawling Flash]]></category>
		<category><![CDATA[Optimizing]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Spider Flash Site]]></category>
		<category><![CDATA[Swf Indexing]]></category>

		<guid isPermaLink="false">http://am3media.com/site/?p=248</guid>
		<description><![CDATA[Google learns to crawl Flash Google has been developing a new algorithm for indexing textual content in Flash files... Source: http://googleblog.blogspot.com/2008/06/google-learns-to-crawl-flash.html How to SEO Flash •    Search Engines and Flash •    Requirements for Successful Use of Flash •    SEO Flash &#8230; <a href="http://newsourcemedia.com/blog/flash-and-seo-why-not/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<strong>Google learns to crawl Flash</strong>
Google has been developing a new algorithm for indexing textual content in Flash files...
Source: http://googleblog.blogspot.com/2008/06/google-learns-to-crawl-flash.html

<strong>How to SEO Flash</strong>
•    Search Engines and Flash
•    Requirements for Successful Use of Flash
•    SEO Flash Programming
•    Example: Making Flash Home Page Spiderable
•    Scalable Inman Flash Replacement
Source: http://www.hochmanconsultants.com/articles/seo-friendly-flash.shtml

<strong>Here are a few comments on this topic from SearchEngineGuide.com:</strong>
“Stoney, You hit the nail on the head and pounded it down with one stroke. I completely agree, I have turned down clients in my own business due to flash sites. Now that I am with an agency I find Flash more common, as many of the businesses are big enough and niched enough where they feel that they don't need SEO for their website. Oddly enough they are often right. Unfortunately SEO can have a big effect on PPC marketing, and most of these accounts suffer from bad keyword quality scores and thus higher click costs in AdWords.”

“Susan: I disagree slightly. Mostly because it all comes down to the intent. Building a flash only website for Ozzy Osbourne is fine, but e-commerce is not. I think you know what I mean”

“ Working on seo for hotel sites, I've come across some stunning creative sites designed with Flash. If the designers had thoughtfully used the Flash applications to "wow" site visitors, ie embedding in otherwise SE-friendly pages, it could be a win-win situation.
Perhaps all of you have seen the June info about making Flash SE-friendly. ( http://googleblog.blogspot.com/2008/06/google-learns-to-crawl-flash.html )”
Source: http://www.searchengineguide.com/stoney-degeyter/why-i-still-wont-seo-flash-websites.php

<strong>And from SearchEngineJournal.com</strong>:
“Disney does it. And so does Oprah. Even my favorite pizza place does it...  Granted these are extreme cases of sites which use flash extensively, but there are other cases where even a little flash can be improperly used. There are also cases where flash is not only appropriate, it is recommended. The question then becomes how to best use flash without affecting search engine rankings”

“Yeah this article doesn’t help a bit. I thought after reading I would be able to find a solution for my all flash website for seo purposes. <a href="http://www.thefwa.com" target="_blank">Thefwa.com</a> is an all flash website, they rank no.1, they didn’t follow your mumbo jumbo about not using too much flash” (Note from Alex: TheFWA.com does not rank no.1. They rank 31,905. Still not bad for an all flash site.)
Source: http://www.searchenginejournal.com/flash-and-seo-using-flash-on-websites/2247/

<strong>Cool online tool that will probe a flash file:</strong>
http://www.flashprobe.com/]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/flash-and-seo-why-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A list of htaccess Tutorials</title>
		<link>http://newsourcemedia.com/blog/a-list-of-htaccess-tutorials/</link>
		<comments>http://newsourcemedia.com/blog/a-list-of-htaccess-tutorials/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 20:30:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Servers]]></category>

		<guid isPermaLink="false">http://am3media.com/site/?p=116</guid>
		<description><![CDATA[First off, here are a few samples. The first thing you will need to do is add these two lines at the top of your .htacccess file: Options +FollowSymlinks RewriteEngine on RewriteRule: Say you've change from using html files to &#8230; <a href="http://newsourcemedia.com/blog/a-list-of-htaccess-tutorials/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[First off, here are a few samples. The first thing you will need to do is add these two lines at the top of your .htacccess file:

<em>Options +FollowSymlinks
RewriteEngine on</em>

<strong>RewriteRule</strong><em>:
</em>Say you've change from using html files to dynamic PHP files. Instead of changing your nav links to point to php files, you can force all url path that end with .html to .php like so:

<em>RewriteRule ^(.*).html$ $1.php </em>

<strong>RewriteCond (Rewrite Condition)</strong>
If you have query string in the page and you want them to be carried over to the new page, you have to set a rewrite condition for query strings. The example below first sets the query condition in line one and than redirects from one web page a new web page using in line two. It uses this bit of text "(.+)" to grab the query and "%1" to pass it to the new page:

RewriteCond %{QUERY_STRING} <strong>(.+)</strong>
RewriteRule ^webpage.php /new_webpage.php?<strong>%1</strong>

<strong>Convert url directory paths to a query string.</strong>
RewriteRule (.*) /index.php?paths=$1

<strong>Convert url directory paths to a query string using custom folder paths.
</strong>This one only does it if you're under directory "sell". So if users are under "/sell/computers/mac/"
you can send "computers/mac" as the category and do a split on the "/" slash to seperate them.
RewriteRule ^sell/(.*) /sell.php?category=$1

<strong>
ErrorDocument :
</strong>Here's how to customize or ignore your error messaging. You can do this by targeting a file like this:

<em>ErrorDocument 404 /dir/home.html
ErrorDocument 403 /custom_error_message.html</em>

Here are a few more site I found helpful.

Custom HTTP Errors via htaccess:
http://perishablepress.com/press/2008/03/18/custom-http-errors-via-htaccess/

Custom dynamic redirecting and rewriting
http://corz.org/serv/tricks/htaccess2.php]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/a-list-of-htaccess-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable or Enable Directory Browsing or Indexing</title>
		<link>http://newsourcemedia.com/blog/disable-or-enable-directory-browsing-or-indexing/</link>
		<comments>http://newsourcemedia.com/blog/disable-or-enable-directory-browsing-or-indexing/#comments</comments>
		<pubDate>Wed, 09 Feb 2005 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Setup .htaccess]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[disablnable]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[Hide]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Indexing]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[view]]></category>
		<category><![CDATA[visable]]></category>
		<category><![CDATA[visible]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2005/02/08/disable-or-enable-directory-browsing-or-indexing/</guid>
		<description><![CDATA[How to disable directories from browsing or indexing to hide images, and other files from visitors. This give you total control of your web folders to block unwanted viewing using .htaccess files with Apache Disable or Enable Directory Browsing or &#8230; <a href="http://newsourcemedia.com/blog/disable-or-enable-directory-browsing-or-indexing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[How to disable directories from browsing or indexing to hide images, and other files from visitors. This give you total control of your web folders to block unwanted viewing using .htaccess files with Apache
<span id="more-186"></span>
<h4>Disable or Enable Directory Browsing or Indexing in .htaccess file</h4>
Browsing or indexing is an option that allows the contents of a directory to be displayed in the browser when the directory does not contain an index page.

For example, if you make an http call to a directory such as http://yourdomain.com/images/,     it would list all the images in that directory without the need for an html page with links.

We will need to create a blank file called ".htaccess". You can name it "htaccess.txt" while your editing it, then rename the file to ".htaccess" after the file is on your web server.
<h4>Disable Directory Browsing or Indexing</h4>
Type or copy and past the following line of text in to your blank file.
Note: I add the work "All" so that every folder in that directory follows the same rule.
<blockquote>
<table border="0" cellspacing="0" cellpadding="5" bgcolor="#e8e8e8">
<tbody>
<tr>
<td>Options All -Indexes</td>
</tr>
</tbody></table>
</blockquote>
<h4>Enable Directory Browsing or Indexing</h4>
You can reactivate it by adding the following line to your <span class="code">.htaccess</span> file:
<blockquote>
<table border="0" cellspacing="0" cellpadding="5" bgcolor="#e8e8e8">
<tbody>
<tr>
<td>Options  +Indexes</td>
</tr>
</tbody></table>
</blockquote>
Once this is added, the directory will fully index again.]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/disable-or-enable-directory-browsing-or-indexing/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
