<?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>HydTech</title>
	<atom:link href="http://hydtechblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hydtechblog.com</link>
	<description>anotha hyd anotha day</description>
	<lastBuildDate>Sun, 24 Jul 2011 22:38:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mac OS X Lion Theme for Android</title>
		<link>http://hydtechblog.com/2011/07/24/mac-os-x-lion-theme-for-android/</link>
		<comments>http://hydtechblog.com/2011/07/24/mac-os-x-lion-theme-for-android/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 22:38:31 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1080</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://hydtechblog.com/wp-content/uploads//2011/07/lion1.png" alt="Lion OS X" /><br />
<img src="http://hydtechblog.com/wp-content/uploads//2011/07/lion2.png"/></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1080&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/07/24/mac-os-x-lion-theme-for-android/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to check the current PHP handler and change it</title>
		<link>http://hydtechblog.com/2011/06/05/how-to-check-the-current-php-handler-and-change-it/</link>
		<comments>http://hydtechblog.com/2011/06/05/how-to-check-the-current-php-handler-and-change-it/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 20:17:27 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[php handlers]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1077</guid>
		<description><![CDATA[[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: cgi SUEXEC: not installed [root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf 4 dso none 1 [root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current Available handlers: suphp dso cgi none DEFAULT PHP: 4 PHP4 SAPI: dso PHP5 SAPI: none SUEXEC: enabled [root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;help ====================================== [...]]]></description>
			<content:encoded><![CDATA[<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current<br />
Available handlers: suphp dso cgi none<br />
DEFAULT PHP: 5<br />
PHP4 SAPI: none<br />
PHP5 SAPI: cgi<br />
SUEXEC: not installed</p>
<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf 4 dso none 1</p>
<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;current<br />
Available handlers: suphp dso cgi none<br />
DEFAULT PHP: 4<br />
PHP4 SAPI: dso<br />
PHP5 SAPI: none<br />
SUEXEC: enabled</p>
<p>[root@server ~]# /usr/local/cpanel/bin/rebuild_phpconf &#8211;help<br />
======================================<br />
Usage:-<br />
/usr/local/cpanel/bin/rebuild_phpconf [--dryrun] [--no-restart]<br />
 [--no-user-updates]<br />
[--current|--available] <Default PHP> <PHP4 Handler> <PHP5 Handler> <Suexec><br />
 &#8211;dryrun       : Only display the changes that would be made<br />
 &#8211;no-restart   : Don&#8217;t restart Apache after updating the php.conf link<br />
 &#8211;no-htaccess  : Don&#8217;t update user configurable PHP mime mapping.<br />
 &#8211;current      : Show current settings<br />
 &#8211;available    : Show available handlers and PHP SAPIs<br />
 <Default PHP>  : Version of PHP to set as default handler for .php files<br />
 <PHP# Handler> : Type of Apache module to use in serving PHP requests<br />
<Suexec>       : enabled, disabled, 1 or 0<br />
======================================</p>
<p>The Five Types of PHP Configuration That Are Possible:-<br />
 ====================================================<br />
 * None – Don’t provide access to this version of PHP<br />
 *DSO – Provide this version of PHP via libphp4.so or libphp5.so ( mod_php). This is normally the fastest possible way to serve PHP requests, but PHP will execute as the user “nobody”. If both versions of PHP are available, it is impossible to configure both to be served as DSO unless the concurrent DSO patch was applied at build time.<br />
 * SuPHP – Provide this version of PHP through mod_suphp. This is the most flexible way of serving PHP requests and tends to be very secure. PHP scripts are executed by the user who owns the VirtualHost serving the request.<br />
 * FCGI – Provide this version of PHP through mod_fcgid. This is a very fast way of serving PHP requests, but php.conf will most likely require additional tuning to perform well. If Suexec is enabled, each user will create their own PHP FastCGI server automatically and PHP scripts will be executed by the user who owns the VirtualHost serving the request. If Suexec is disabled, the “nobody” user will own all of the PHP FastCGI server processes and PHP scripts will be executed by the “nobody” user. FCGI mode is recommended only for advanced administrators who understand how to tune the performance of mod_fcgid. Userdir requests will not function correctly with the basic mod_fcgid setup provided by cPanel.<br />
 * CGI – Provide this version of PHP through mod_cgi or mod_cgid. If Suexec is enabled, PHP scripts will be executed by the user who owns the VirtualHost serving the request. If Suexec is disabled, the “nobody” user will execute all PHP scripts. Userdir requrests will not function correctly with the basic CGI setup provided by cPanel. It is intended as a fallback when the other preferred methods (DSO or SuPHP) are not available. Serving PHP as CGI is not particularly secure or fast regardless of whether Suexec is enabled.<br />
 =======================================================</p>
<p>source: http://openhelp.net/2009/05/10/how-to-change-the-default-php-handler-from-the-command-prompt-cpanel-server/</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1077&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/06/05/how-to-check-the-current-php-handler-and-change-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantastico error: Parse error: syntax error, unexpected $end in /tmp/</title>
		<link>http://hydtechblog.com/2011/06/04/fantastico-error-parse-error-syntax-error-unexpected-end-in-tmp/</link>
		<comments>http://hydtechblog.com/2011/06/04/fantastico-error-parse-error-syntax-error-unexpected-end-in-tmp/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 22:44:12 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1075</guid>
		<description><![CDATA[Fantastico error: Parse error: syntax error, unexpected $end in /tmp/ Solution: Your /tmp directory is full, clear it out.]]></description>
			<content:encoded><![CDATA[<p>Fantastico error:<br />
Parse error: syntax error, unexpected $end in /tmp/</p>
<p>Solution:<br />
Your /tmp directory is full, clear it out.</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1075&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/06/04/fantastico-error-parse-error-syntax-error-unexpected-end-in-tmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento error:  Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.</title>
		<link>http://hydtechblog.com/2011/06/04/magento-error-your-web-server-is-configured-incorrectly-as-a-result-configuration-files-with-sensitive-information-are-accessible-from-the-outside-please-contact-your-hosting-provider/</link>
		<comments>http://hydtechblog.com/2011/06/04/magento-error-your-web-server-is-configured-incorrectly-as-a-result-configuration-files-with-sensitive-information-are-accessible-from-the-outside-please-contact-your-hosting-provider/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 22:42:17 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1073</guid>
		<description><![CDATA[Magento error: Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider. Solution: This error is caused by /app/etc/local.xml being readable by the world. Set the permissions to 551]]></description>
			<content:encoded><![CDATA[<p>Magento error:<br />
Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.</p>
<p>Solution:<br />
This error is caused by /app/etc/local.xml being readable by the world. Set the permissions to 551</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1073&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/06/04/magento-error-your-web-server-is-configured-incorrectly-as-a-result-configuration-files-with-sensitive-information-are-accessible-from-the-outside-please-contact-your-hosting-provider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check Plesk version and update the admin password</title>
		<link>http://hydtechblog.com/2011/05/14/how-to-check-plesk-version-and-update-the-admin-password/</link>
		<comments>http://hydtechblog.com/2011/05/14/how-to-check-plesk-version-and-update-the-admin-password/#comments</comments>
		<pubDate>Sun, 15 May 2011 00:20:03 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Linux (Ubuntu)]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1071</guid>
		<description><![CDATA[You can type: rpm -q psa or cat /usr/local/psa/version The password is located under: /etc/psa/.psa.shadow]]></description>
			<content:encoded><![CDATA[<p>You can type:</p>
<p>rpm -q psa</p>
<p>or </p>
<p>cat /usr/local/psa/version</p>
<p>The password is located under:</p>
<p>/etc/psa/.psa.shadow</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1071&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/05/14/how-to-check-plesk-version-and-update-the-admin-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rename multiple file with same extension in Linux</title>
		<link>http://hydtechblog.com/2011/05/11/rename-multiple-file-with-same-extension-in-linux/</link>
		<comments>http://hydtechblog.com/2011/05/11/rename-multiple-file-with-same-extension-in-linux/#comments</comments>
		<pubDate>Wed, 11 May 2011 22:49:08 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php extension]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1065</guid>
		<description><![CDATA[I want to rename all files with .txt to .sh and wildcards don&#8217;t work to well with the rm command here&#8217;s the trick: for file in *.txt; do mv $file `basename $file .txt`.sh; done]]></description>
			<content:encoded><![CDATA[<p>I want to rename all files with .txt to .sh and wildcards don&#8217;t work to well with the rm command</p>
<p>here&#8217;s the trick:</p>
<p><code>for file in *.txt; do mv $file `basename $file .txt`.sh; done </code></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1065&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/05/11/rename-multiple-file-with-same-extension-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serve files with no extension as PHP</title>
		<link>http://hydtechblog.com/2011/05/11/serve-files-with-no-extenshion-as-php/</link>
		<comments>http://hydtechblog.com/2011/05/11/serve-files-with-no-extenshion-as-php/#comments</comments>
		<pubDate>Wed, 11 May 2011 22:00:14 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1057</guid>
		<description><![CDATA[So I recently wget mirrored a whole website and uploaded them to my web server. The PHP files from the original server had no extension and when trying to load them, Apache did not serve them as PHP, loading a bunch of jibberish. To solve this problem, I had to edit .htaccess : < FilesMatch [...]]]></description>
			<content:encoded><![CDATA[<p>So I recently <a href="http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/">wget mirrored a whole website</a> and uploaded them to my web server. The PHP files from the original server had no extension and when trying to load them, Apache did not serve them as PHP, loading a bunch of jibberish.</p>
<p>To solve this problem, I had to edit .htaccess :</p>
<p><code><br />
< FilesMatch '^[^.]+$' ><br />
 ForceType application/x-httpd-php<br />
< /FilesMatch ></p>
<p>#OR</p>
<p>#AddHandler server-parsed .php</p>
<p>#SetHandler application/x-httpd-php</p>
<p>#AddHandler application/x-httpd-php .php</p>
<p>#OR</p>
<p>#RewriteEngine On<br />
#RewriteRule ^[^.]+$ – [T=application/x-httpd-php,L]</code></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1057&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/05/11/serve-files-with-no-extenshion-as-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Browsing in Linux: wget and some tricks</title>
		<link>http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/</link>
		<comments>http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/#comments</comments>
		<pubDate>Wed, 11 May 2011 21:52:43 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[BackTrack]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Linux (Ubuntu)]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Webhosting]]></category>
		<category><![CDATA[backup wget]]></category>
		<category><![CDATA[linux wget]]></category>
		<category><![CDATA[offline browser linux]]></category>
		<category><![CDATA[website backup linux]]></category>
		<category><![CDATA[wget mirror]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1052</guid>
		<description><![CDATA[Ever since I joined Hostgator.com, I&#8217;ve been learning a lot of Linux in the hopes that I switch my career into Linux. Hopefully Forensics related. So this new dilemma I had was to download a website for offline browsing. I went on the hunt for an offline file browser for Linux&#8230;. I found that I [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I joined Hostgator.com, I&#8217;ve been learning a lot of Linux in the hopes that I switch my career into Linux. Hopefully Forensics related.</p>
<p>So this new dilemma I had was to download a website for offline browsing. I went on the hunt for an offline file browser for Linux&#8230;. I found that I could use wget to mirror a whole website.</p>
<p>For example, I want to make a copy of <a href="http://www.blackberrysimunlockcode.com">blackberrysimunlockcode.com</a>, Here&#8217;s how:</p>
<p><code> wget -m http://blackberrysimunlockcode.com </code></p>
<p>Here the -m option is telling wget to mirror the website. This is the basic command. But say I need some advanced options. What do I do?</p>
<p>I was trying to get all the script files off of a website to save for later learning and all it was downloading was the index.html and robots.txt<br />
The robots.txt file was blocking user agent wget. To confirm this I used the debug option in wget:</p>
<p><code> wget -m -d http://blackberrysimunlockcode.com </code></p>
<p>You&#8217;ll get something like:</p>
<p>Not following http://blackberrysimunlockcode.com/privacy.shtml because robots.txt forbids it.</p>
<p>or</p>
<p>Rejecting path sh/eg/talk.sh.txt because of rule `sh&#8217;</p>
<p>or </p>
<p>no-follow in index.html</p>
<p>I tried using the option &#8211;user-agent &#8220;Mozilla&#8221;  &#8230;.. no luck</p>
<p>I tried adding the following in .wgetrc :</p>
<p>## Local settings (for a user to set in his $HOME/.wgetrc).  It is<br />
## *highly* undesirable to put these settings in the global file, since<br />
## they are potentially dangerous to &#8220;normal&#8221; users.<br />
##<br />
## Even when setting up your own ~/.wgetrc, you should know what you<br />
## are doing before doing so.<br />
##</p>
<p>header = Accept-Language: en-us,en;q=0.5<br />
header = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br />
header = Accept-Encoding: gzip,deflate<br />
header = Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br />
header = Keep-Alive: 300<br />
user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6<br />
referer = http://www.google.com</p>
<p>&#8230;Still no luck.</p>
<p>The trick is to use option -e robots=off</p>
<p>So my new command became:</p>
<p><code> wget -m -k -e robots=off -w 2 --random-wait -U "Mozilla" -np http://blackberrysimunlockcode.com </code></p>
<p>Heres what the options do:</p>
<p>-m mirrors website<br />
-k fix links so you don&#8217;t get directed to www.blackberrysimunlockcode.com/sh/eg instead of /sh/eg (relative vs absolute)<br />
-e executes command robots=off<br />
-w 2 sets wait time as 2 seconds so you don&#8217;t overload server and get ip blocked<br />
&#8211;random-wait can be random in 2 secon increments<br />
-U sets user agent<br />
-np no parent, so if the current subdirectory/page links to parent pages, it might crawl whole website</p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1052&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/05/11/offline-browsing-in-linux-wget-and-some-tricks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gizmo5 out of business?</title>
		<link>http://hydtechblog.com/2011/03/04/gizmo5-out-of-business/</link>
		<comments>http://hydtechblog.com/2011/03/04/gizmo5-out-of-business/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 22:54:56 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1046</guid>
		<description><![CDATA[Well not really out of business, but I just got an email from them saying that customers would no longer be able to place calls after April 3, 2011. All credits can be converted into Google Voice or you can ask for a refund. How am I supposed to make free calls with my android [...]]]></description>
			<content:encoded><![CDATA[<p>Well not really out of business, but I just got an email from them saying that customers would no longer be able to place calls after April 3, 2011. All credits can be converted into Google Voice or you can ask for a refund.</p>
<p>How am I supposed to make free calls with my android phone now?</p>
<p><a href="http://www.fiberlightning.com/joomla-hosting.php" style="color:#000000;">Joomla Hosting at FiberLightning.com</a></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1046&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/03/04/gizmo5-out-of-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello Kitty Snow Live Wallpaper 2 for Android</title>
		<link>http://hydtechblog.com/2011/02/10/hello-kitty-snow-live-wallpaper-2-for-android/</link>
		<comments>http://hydtechblog.com/2011/02/10/hello-kitty-snow-live-wallpaper-2-for-android/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 07:54:03 +0000</pubDate>
		<dc:creator>HydTech</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[hello kitty android]]></category>
		<category><![CDATA[hello kitty snow]]></category>
		<category><![CDATA[live wallpaper hello kitty]]></category>

		<guid isPermaLink="false">http://hydtechblog.com/?p=1041</guid>
		<description><![CDATA[Hello Kitty Snow Live Wallpaper for Android WordPress Hosting at FiberLightning.com]]></description>
			<content:encoded><![CDATA[<p><a href="http://hydtechblog.com/2011/02/10/hello-kitty-snow-live-wallpaper-for-android">Hello Kitty Snow Live Wallpaper for Android</a></p>
<p><a href="http://hydtechblog.com/wp-content/uploads//2011/02/device.png"><img src="http://hydtechblog.com/wp-content/uploads//2011/02/device.png" alt="" title="device" width="480" height="800" class="alignnone size-full wp-image-1042" /></a></p>
<p><a href="http://hydtechblog.com/wp-content/uploads//2011/02/device2.png"><img src="http://hydtechblog.com/wp-content/uploads//2011/02/device2.png" alt="" title="device2" width="480" height="800" class="alignnone size-full wp-image-1043" /></a></p>
<p><a href="http://www.fiberlightning.com/wordpress-hosting.php" style="color:#000000;">WordPress Hosting at FiberLightning.com</a></p>
<img src="http://hydtechblog.com/?ak_action=api_record_view&id=1041&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://hydtechblog.com/2011/02/10/hello-kitty-snow-live-wallpaper-2-for-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

