<?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>Linux Servers cPanel webhosting blog &#187; .htaccess</title>
	<atom:link href="http://www.theperfectarts.com/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Sun, 11 Jul 2010 23:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Secure Joomla site.</title>
		<link>http://www.theperfectarts.com/2009/08/secure-joomla-site/</link>
		<comments>http://www.theperfectarts.com/2009/08/secure-joomla-site/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 01:04:50 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Third party script issue]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[joomla hack]]></category>
		<category><![CDATA[joomla injected]]></category>
		<category><![CDATA[Joomla's 'administrator]]></category>
		<category><![CDATA[Secure Joomla site]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/2008/08/secure-joomla-site/</guid>
		<description><![CDATA[To avoid Joomla site to be hacked follow the following steps. Disable RG_EMULATION for Joomla. When this option is enabled even the latest Joomla is vulnerable to some variable injections. It can be disabled by placing the following line in your configuration.php: if(!defined(&#8216;RG_EMULATION&#8217;)) { define( &#8216;RG_EMULATION&#8217;, 0 ); } &#8212;&#8212;&#8212;&#8212;- Secure your administrator&#8217;s area. This [...]]]></description>
			<content:encoded><![CDATA[<p>To avoid Joomla site to be hacked follow the following steps.</p>
<p>Disable RG_EMULATION for Joomla. When this option is enabled even the latest Joomla is</p>
<p>vulnerable to some variable injections. It can be disabled by placing the following line in</p>
<p>your configuration.php:</p>
<p>if(!defined(&#8216;RG_EMULATION&#8217;)) { define( &#8216;RG_EMULATION&#8217;, 0 ); }</p>
<p>&#8212;&#8212;&#8212;&#8212;-<br />
Secure your administrator&#8217;s area. This will first prevent simple brute-force attacks. Along</p>
<p>with that, all components and modules&#8217; code inside this directory will be safe. For this</p>
<p>purpose:</p>
<p>- Place an .htaccess inside Joomla&#8217;s &#8216;administrator&#8217; directory. It should contain:</p>
<p>Deny from all<br />
Allow from YourIP*</p>
<p>In case your IP changes, you should try securing the directory with Password Protection</p>
<p>If you are using PHP 5.2, make sure that the directive &#8216;allow_url_include&#8217; is set to off;</p>
<p>If you are using PHP version below 5.2, make sure that the directive &#8216;allow_url_fopen&#8217; is</p>
<p>set to off.</p>
<div class="blogger-post-footer">http://www.host.co.in/forums/f37/how-check-if-server-suexec-not-821/</div>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/secure-joomla-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable the Directory listing?</title>
		<link>http://www.theperfectarts.com/2009/08/how-to-disable-the-directory-listing/</link>
		<comments>http://www.theperfectarts.com/2009/08/how-to-disable-the-directory-listing/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 21:24:20 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Disable directory listing]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=182</guid>
		<description><![CDATA[To disable the Directory listing for directories you need to create the .htaccess file under the each an every folder under which you want to disable the Directory listing and insert the following code in .htaccess file. &#8212;&#8212;&#8212;&#8212; Options -Indexes &#8212;&#8212;&#8212;&#8212; &#169;2010 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>To disable the Directory listing for directories you need to create the .htaccess file under the each an every folder under which you want to disable the Directory listing and insert the following code in .htaccess file.</p>
<p>&#8212;&#8212;&#8212;&#8212;<br />
Options -Indexes<br />
&#8212;&#8212;&#8212;&#8212;</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/how-to-disable-the-directory-listing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable private PHP Error Logging via .htaccess\disable PHP Error Logging for visitor</title>
		<link>http://www.theperfectarts.com/2009/08/enable-private-php-error-logging-via-htaccessdisable-php-error-logging-for-visitor/</link>
		<comments>http://www.theperfectarts.com/2009/08/enable-private-php-error-logging-via-htaccessdisable-php-error-logging-for-visitor/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 00:00:51 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[disable PHP Error Logging for visitor]]></category>
		<category><![CDATA[Enable private PHP Error Logging via .htaccess]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/2008/08/enable-private-php-error-logging-via-htaccessdisable-php-error-logging-for-visitor/</guid>
		<description><![CDATA[To hide PHP errors from visitors insert the following code in .htaccess # supress php errors php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off Once disable the error logs for visitors enable the private PHP error logging by using following code in .htaccess # enable PHP error logging php_flag log_errors on php_value error_log /home/path/public_html/domain/PHP_errors.log [...]]]></description>
			<content:encoded><![CDATA[<p>To hide PHP errors from visitors insert the following code in .htaccess</p>
<p># supress php errors<br />
php_flag display_startup_errors off<br />
php_flag display_errors off<br />
php_flag html_errors off</p>
<p>Once disable the error logs for visitors enable the private PHP error logging by using following code in .htaccess</p>
<p># enable PHP error logging<br />
php_flag log_errors on<br />
php_value error_log /home/path/public_html/domain/PHP_errors.log</p>
<p>The PHP_errors.log file needs to be permission 755 or 777.</p>
<div class="blogger-post-footer">http://www.host.co.in/forums/f37/how-check-if-server-suexec-not-821/</div>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/08/enable-private-php-error-logging-via-htaccessdisable-php-error-logging-for-visitor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
