<?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>Proxyutza blog &#187; Apache</title>
	<atom:link href="http://www.proxyutza.com/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.proxyutza.com</link>
	<description>About all sorth of things: PHP, Hacks, Scripts, Servers, Linux, Technology, News, Trends</description>
	<lastBuildDate>Wed, 26 May 2010 10:37: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>Securing WordPress</title>
		<link>http://www.proxyutza.com/securing-wordpress/</link>
		<comments>http://www.proxyutza.com/securing-wordpress/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 16:22:11 +0000</pubDate>
		<dc:creator>ProXy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.proxyutza.com/2008/03/08/securing-wordpress/</guid>
		<description><![CDATA[Im not gonna give you the full deal on securing wordpress, there are dozens of this tutorials out there just waiting to be read. I just want to point out a stage that no one should skip, its crucial to your wordpress integrity. Securing the wp-admin folder though very important its very easy to be [...]]]></description>
			<content:encoded><![CDATA[<p>Im not gonna give you the full deal on securing wordpress, there are dozens of this tutorials out there just waiting to be read. I just want to point out a stage that no one should skip, its crucial to your wordpress integrity. Securing the wp-admin folder though very important its very easy to be done. You just have to place a .htaccess file inside the wp-admin folder with the following directives and your wp-admin folder will be restricted to your ip address only. here is the htaccess code:</p>
<p><strong>Order deny,allow<br />
Allow from 1.1.1.1<br />
Allow from 1.1.1.2<br />
Deny from all</strong><br />
this will restrict the access to these 2 ip&#8217;s 1.1.1.1 and 1.1.1.2. But you can restrict access to a full range of ip&#8217;s like this</p>
<p><strong>Order deny,allow<br />
Allow from 1.1.1.<br />
Deny from all</strong></p>
<p>this will restrict the access to this range 1.1.1.*, Or you can use domain names instead</p>
<p><strong>Order deny,allow<br />
Allow from .provider.net<br />
Deny from all</strong></p>
<p>this will restrict the access to *.provider.net</p>
<p>I hope this will help you keep your wordpress websites safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxyutza.com/securing-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache: Deny or Block IP using htaccess directives</title>
		<link>http://www.proxyutza.com/apache-deny-or-block-ip-using-htaccess-directives/</link>
		<comments>http://www.proxyutza.com/apache-deny-or-block-ip-using-htaccess-directives/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 14:35:08 +0000</pubDate>
		<dc:creator>ProXy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[debny ip]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.proxyutza.com/2008/03/06/apache-deny-or-block-ip-using-htaccess-directives/</guid>
		<description><![CDATA[Its very simple to deny certain ip&#8217;s or domain names from htaccess. For example if from various reasons you dont want some persons accessing your site anymore you just need to add the following to you htaccess file: order allow,deny deny from 1.1.1.3 deny from 2.2.2. allow from all This will allow access from anyone [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Hide Apache Version info from footer for a more secured webserver" rel="attachment wp-att-14" href="http://www.proxyutza.com/hide-apache-version-info-from-footer-for-a-more-secured-webserver/hide-apache-version-info-from-footer-for-a-more-secured-webserver/"><img src="http://www.proxyutza.com/wp-content/uploads/2008/02/apache_webserver_logo.png" alt="Hide Apache Version info from footer for a more secured webserver" /></a></p>
<p>Its very simple to deny certain ip&#8217;s or domain names from htaccess. For example if from various reasons you dont want some persons accessing your site anymore you just need to add the following to you htaccess file:</p>
<blockquote><p>order allow,deny<br />
deny from 1.1.1.3<br />
deny from 2.2.2.<br />
allow from all</p></blockquote>
<p>This will allow access from anyone except &#8220;1.1.1.3&#8243; and &#8220;2.2.2.*&#8221;. You can also use domain names instead of ip&#8217;s for example if you add <strong>deny from *.provider.net </strong>no one with that host name will be able to access your website.</p>
<p>Thats it simple short tutorial on how to Deny certain IP using htaccess file</p>
<p><span style="color: #888888;">Doing Oracle <a href="http://www.testking.com/1z0-050.htm">1z0-050</a> database new features for administrators after Cisco <a href="http://www.testking.com/646-363.htm">646-363</a> express foundation for account managers or Cisco <a href="http://www.testking.com/642-504.htm">642-504</a> securing networks with routers and switches is a piece of cake for a Microsoft <a href="http://www.testking.com/70-632.htm">70-632</a> office project 2007, managing projects professional, even if he has not done designing for Oracle <a href="http://www.testking.com/1z0-055.htm">1z0-055</a> database for OCPs or CompTIA <a href="http://www.testking.com/SY0-201.htm">SY0-201</a> security +.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxyutza.com/apache-deny-or-block-ip-using-htaccess-directives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a favicon.ico using Photoshop</title>
		<link>http://www.proxyutza.com/how-to-create-a-faviconico-using-photoshop/</link>
		<comments>http://www.proxyutza.com/how-to-create-a-faviconico-using-photoshop/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 20:13:04 +0000</pubDate>
		<dc:creator>ProXy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[favicon.ico]]></category>
		<category><![CDATA[ico]]></category>

		<guid isPermaLink="false">http://www.proxyutza.com/2008/03/05/how-to-create-a-faviconico-using-photoshop/</guid>
		<description><![CDATA[A Favicon is a little custom icon that appears next to a website&#8217;s URL in the address bar of a web browser. And when I say little, I mean 16 pixels by 16 pixels. So if you like a good design challenge try your hand at this one. All you need to add a Favicon [...]]]></description>
			<content:encoded><![CDATA[<p>A <strong>Favicon</strong> is a little custom icon that appears next to a website&#8217;s URL in the address bar of a web browser. And when I say little, I mean 16 pixels by 16 pixels. So if you like a good design challenge try your hand at this one. All you need to add a <strong>Favico</strong>n to your site is a Windows Icon (.ico) file called <strong>favicon.ico</strong> that you upload to the main directory of your website.</p>
<p>You&#8217;ll need the Windows Icon (ICO) file format Photoshop Plugin to export to the .ico file format. You can download the plugin from <a href="http://www.telegraphics.com.au/sw/files/ICOFormat-1.6f9-win.zip">Telegraphics</a>. The plugin reads and writes ICO files in 1, 4 and 8-bit Indexed and 24-bit RGB modes, and also reads and writes 32-bit &#8220;XP&#8221; icons (with 8-bit alpha channel). Make sure to install the plugin before you begin this tutorial.</p>
<p>Now because 16&#215;16 is such a small space to be creative its gonna be hard to get something nice done, but dont worry that much, most of sites just use a letter on a colored background or 2 letter with a custom font. So it doesent needs to be extravagant. After you&#8217;ve installed the plugin You can start by creating a new file with <strong>File &gt; New&#8230;</strong> now set the width and height to 16&#215;16 pixels and hit Ok. Now its a good idea to increase the zoom on the picture by holding <strong>alt </strong>and <strong>scrolling with your mouse wheel.</strong> Now be creative and make a favicon that people will remember and also gets together well with the design of your website mainly with the colors of your website. After you are done go to <strong>File &gt; Save as&#8230; </strong>in the format box select &#8220;<strong>Ico (Windows Icon) (*.ICO)</strong>&#8221; and save your file as &#8220;f<strong>avicon.ico</strong>&#8220;. Now you just need to upload the file named favicon.ico into your home page directory next to your index file. On most modern browsers the favicon will now be loaded automatically but there are some known issues with older browsers that i&#8217;m not covering in this article.</p>
<p>note: if you uploaded your <strong>favicon</strong> file and you are using Mozilla Firefox to view your website, you need to clear your cache for the favicon to load, you can do that by hitting <strong>ctrl+shift+delete</strong> and then click on <strong>Clear Private Data</strong></p>
<p>And there you have it :  <strong>How to create a favicon.ico using Photoshop</strong></p>
<p><span style="color: #888888;">Writing Microsoft <a href="http://www.testking.com/70-643.htm">70-643</a> windows server 2008 applications infrastructure, configuring and Microsoft <a href="http://www.testking.com/MB2-632.htm">MB2-632</a> applications in dynamics CRM professional is not an onerous task for an <a href="http://www.testking.com/HP0-S14.htm">HP0-S14</a> design &amp; implementation of HP SIM for ISS solutions professional as he has done Cisco <a href="http://www.testking.com/646-563.htm">646-563</a> advanced security for account managers as well as Microsoft <a href="http://www.testking.com/70-237.htm">70-237</a> designing messaging solutions with exchange server 2007 and Cisco <a href="http://www.testking.com/642-515.htm">642-515</a> securing networks with ASA advanced in his career. </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxyutza.com/how-to-create-a-faviconico-using-photoshop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache &#8211; Restrict access to certain directory by IP</title>
		<link>http://www.proxyutza.com/apache-restrict-access-to-certain-directory-by-ip/</link>
		<comments>http://www.proxyutza.com/apache-restrict-access-to-certain-directory-by-ip/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 09:26:26 +0000</pubDate>
		<dc:creator>ProXy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[forbidden]]></category>
		<category><![CDATA[restric access]]></category>

		<guid isPermaLink="false">http://www.proxyutza.com/2008/02/27/apache-restrict-access-to-certain-directory-by-ip/</guid>
		<description><![CDATA[You can use this method to allow certain ip&#8217;s to access certain directories or to deny certain ip&#8217;s to access certain directories, its up to you how you want to protect that directory. In this example im gonna show you how to restrict access to a directory named &#8220;restricted&#8221; to a single ip, so when [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Hide Apache Version info from footer for a more secured webserver" rel="attachment wp-att-14" href="http://www.proxyutza.com/hide-apache-version-info-from-footer-for-a-more-secured-webserver/hide-apache-version-info-from-footer-for-a-more-secured-webserver/"><img src="http://www.proxyutza.com/wp-content/uploads/2008/02/apache_webserver_logo.png" alt="Hide Apache Version info from footer for a more secured webserver" align="left" /></a>You can use this method to allow certain ip&#8217;s to access certain directories or to deny certain ip&#8217;s to access certain directories, its up to you how you want to protect that directory. In this example im gonna show you how to restrict access to a directory named &#8220;restricted&#8221; to a single ip, so when any other ip that is not in the list tries to access that directory it will get a page saying</p>
<h1>Forbidden</h1>
<p>You don&#8217;t have permission to access /restricted on this server.</p>
<p>The explanations work on Debian with Apache2 tested by me, but also it should work on any other OS and Apache2 version. Here is how you do it: you need to edit the following file /etc/apache2/sites-available/default and you do that with the following commmand:</p>
<p><strong>nano /etc/apache2/sites-available/default </strong></p>
<p>now at the end of the file on top of &lt;/VirtualHost&gt; you need to add the following:</p>
<p><strong>&lt;Directory &#8220;/var/www/restricted/&#8221;&gt;<br />
Options Indexes MultiViews FollowSymLinks<br />
AllowOverride None<br />
Order deny,allow<br />
Deny from all<br />
Allow from 1.1.1.1<br />
&lt;/Directory&gt;</strong></p>
<p>replace &#8220;1.1.1.1&#8243; with your ip and  &#8220;/var/www/restricted/&#8221; with the path to the directory you want to restrict access to.</p>
<p>Now press ctrl+x and then Y to confirm and save the modifications. Now we need to reload the config file with the following command and we are done.</p>
<p><strong>/etc/init.d/apache2 reload </strong></p>
<p><span style="color: #888888;">Most of the Microsoft <a href="http://www.testking.com/70-624.htm">70-624</a> deploying and maintaining windows vista client and 2007 office system desktops and Microsoft <a href="http://www.testking.com/70-238.htm">70-238</a> deploying messaging solutions with exchange server 2007 professionals deem Cisco <a href="http://www.testking.com/642-971.htm">642-971</a> data center network infrastructure design and Microsoft <a href="http://www.testking.com/70-453.htm">70-453</a> for transition MCITP SQL server 2005 DBA mandatory for every IBM <a href="http://www.testking.com/000-960.htm">000-960</a> storage sales.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxyutza.com/apache-restrict-access-to-certain-directory-by-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide Apache Version info from footer for a more secured webserver</title>
		<link>http://www.proxyutza.com/hide-apache-version-info-from-footer-for-a-more-secured-webserver/</link>
		<comments>http://www.proxyutza.com/hide-apache-version-info-from-footer-for-a-more-secured-webserver/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 08:50:06 +0000</pubDate>
		<dc:creator>ProXy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[ServerSignature]]></category>
		<category><![CDATA[ServerTokens]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.proxyutza.com/2008/02/26/hide-apache-version-info-from-footer-for-a-more-secured-webserver/</guid>
		<description><![CDATA[I always hate the thing that after a new install of Debian(which is my favourite server OS) and Apache2(very stable webserver) i get that footer on List and Error pages that presents whoever visits that page with full info on name and version of modules installed. Thats not very safe, because these days the web [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.proxyutza.com/2008/02/26/hide-apache-version-info-from-footer-for-a-more-secured-webserver/hide-apache-version-info-from-footer-for-a-more-secured-webserver/" rel="attachment wp-att-14" title="Hide Apache Version info from footer for a more secured webserver"><img src="http://www.proxyutza.com/wp-content/uploads/2008/02/apache_webserver_logo.png" alt="Hide Apache Version info from footer for a more secured webserver" /></a></p>
<p>I always hate the thing that after a new install of Debian(which is my favourite server OS) and Apache2(very stable webserver) i get that footer on List and Error pages that presents whoever visits that page with full info on name and version of modules installed. Thats not very safe, because these days the web is full of exploits and i dont want some script kiddie to find a nice exploit and deface my website because of the info provided by Apache. So here is what you need to do to remove that information:</p>
<p>with the following command we edit the apache2 config file:</p>
<p><strong>nano /etc/apache2/apache2.conf </strong></p>
<p>now press ctrl+W to open the find prompt and search for &#8220;ServerTokens&#8221;, you will now see a line that usually is set by default to ServerTokens Full, go ahead and  change that line to ServerTokens Prod.  Setting this to Prod only displays Apache and nothing else.</p>
<p>now press ctrl+W again to open the find promp and search for &#8220;ServerSignature&#8221; you will now see a line that usually is set by default to ServerSignature On, go ahead and change that line to ServerSignature Off. The ServerSignature directive allows the configuration of a trailing footer line under server-generated documents.</p>
<p>Now press ctrl+x and the Y to save to changes we made and run the following command to reload the Apache config:</p>
<p><strong>/etc/init.d/apache2 reload</strong></p>
<p>Everything is done, you now have a more secured webserver.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.proxyutza.com/hide-apache-version-info-from-footer-for-a-more-secured-webserver/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
