<?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/"
	>

<channel>
	<title>action online &#187; Server</title>
	<atom:link href="http://www.actiononline.biz/category/web/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actiononline.biz</link>
	<description>Technology &#038; Business blog of YDS Web Solution</description>
	<pubDate>Wed, 05 Nov 2008 01:20:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Are Chinese Hackers really Chinese?</title>
		<link>http://www.actiononline.biz/technology/are-chinese-hackers-really-chinese/</link>
		<comments>http://www.actiononline.biz/technology/are-chinese-hackers-really-chinese/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 15:22:06 +0000</pubDate>
		<dc:creator>Al Khalel Le Beau</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://technojaculate.actiononline.biz/software/?p=325</guid>
		<description><![CDATA[There has been recent news tagging China as one of the leading countries who hack into US government computers to get information about British military secrets. According to the news, the Chinese People’s Liberation Army tried to get information from the office of US Defense Secretary, Robert Gates. US President Bush also intended to confront [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><img src="http://www.actiononline.biz/wp-content/uploads/2007/09/chinahack.jpg" alt="Are Chinese Hackers really Chinese" align="left" />There has been recent news tagging China as one of the <a href="http://www.timesonline.co.uk/tol/news/world/asia/article2393979.ece ">leading countries who hack</a> into US government computers to get information about British military secrets. According to the news, the Chinese People’s Liberation Army tried to get information from the office of US Defense Secretary, Robert Gates. US President Bush also intended to confront China regarding the alleged hacking activity to the Pentagon and other US government computers.</p>
<p class="MsoNormal">In my point of view, if US government computers have really been hacked, it is not necessarily China who has done the hacking. Why is this so? It’s because when you hack into a computer, you will leave tracks and authorities can trace these tracks and will lead them to the hacker<span id="more-325"></span>. In the US, the systems are so interconnected and if anyone does a cybercrime, the crook can be easily traced. As many of us know, all computers in the world basically use the same system, software and servers, whether Linux or Windows, Apache or IIS and all have the same security problems. Thus, it is of high probability that an unsecure server of China may have been hacked and was used to hack into the US government computers therefore hiding tracks to the real culprits. Who knows, the crooks may have actually come from England?</p>
<p class="MsoNormal">I would also like to voice out my opinion regarding this issue. Lately, I’ve noticed that China has been the center of controversy for various issues like Mattel products from China recalled, some food containing formalin, Hong Kong residents being hesitant to buy poultry from China and recently, this alleged hacking activity. For me, the “Sleeping Giant” is slowly becoming a powerful and influential country that could rock the whole world with its tremendous power. Do you think that these events are some of the means of stopping China in becoming a superpower? Are Chinese people really hacking into US government computers? Or are there just lame people (not necessarily Chinese or from China) who want to destroy China’s credibility?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/technology/are-chinese-hackers-really-chinese/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CPanel and WHM shows a blank page - Restart CPanel</title>
		<link>http://www.actiononline.biz/web/server/cpanel-and-whm-shows-a-blank-page-restart-cpanel/</link>
		<comments>http://www.actiononline.biz/web/server/cpanel-and-whm-shows-a-blank-page-restart-cpanel/#comments</comments>
		<pubDate>Mon, 21 May 2007 05:59:05 +0000</pubDate>
		<dc:creator>Benj Arriola</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://webgasm.actiononline.biz/server/?p=290</guid>
		<description><![CDATA[Sometimes high server loads of different kinds can shutdown various services on your server. Depending on what processor, and memory you have, every server acts differently. If you have a dedicated server or co-located server and is running CPanel, you sometimes come into situations where the server seems to work fine but no one can [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.actiononline.biz/wp-content/uploads/2007/05/restart-cpanel.jpg" title="Restart CPanel" alt="Restart CPanel and Web Host Manager - WHM" align="left" />Sometimes high server loads of different kinds can shutdown various services on your server. Depending on what processor, and memory you have, every server acts differently. If you have a dedicated server or co-located server and is running <a href="http://www.cpanel.net" target="_blank">CPanel</a>, you sometimes come into situations where the server seems to work fine but no one can login to CPanel nor <acronym title="Web Host Manager">WHM</acronym> and all it just shows is a blank page.</p>
<p>Doing hard reboot on the server may help and also depends if your data center offers some reboot facility for you. but doing this all the time may not be the best way to fix the problem if the only problem is CPanel and the Web Host Manager are not working and only show a blank page and the rest of the server still works perfectly. It&#8217;s probably best to simply restart CPanel only.</p>
<p><span id="more-290"></span>We assume you are a dedicated server owner or co-located server owner running a server with CPanel, so again, we assume you have shell access. So login to your server by <acronym title="Secure Shell">SSH</acronym>, and I do assume you have an SSH software of course. If not and you are using a Windows machine, <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">Putty</a> works fine. Login as root to your server and simply run this:</p>
<blockquote><p>/etc/init.d/cpanel restart</p></blockquote>
<p>And it will restart all your CPanel related services and simply wait until it&#8217;s done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/web/server/cpanel-and-whm-shows-a-blank-page-restart-cpanel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Maximizing Email Server Space by Riding on Google&#8217;s Gmail Service</title>
		<link>http://www.actiononline.biz/web/server/maximizing-email-server-space-by-riding-on-googles-gmail-service/</link>
		<comments>http://www.actiononline.biz/web/server/maximizing-email-server-space-by-riding-on-googles-gmail-service/#comments</comments>
		<pubDate>Sun, 20 May 2007 08:28:29 +0000</pubDate>
		<dc:creator>Benj Arriola</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://webgasm.actiononline.biz/server/?p=89</guid>
		<description><![CDATA[
One way to save space on your web hosting account and have a large email box is simply using Gmail&#8217;s service but still use your personalize domain name email account.
Things are getting bigger now a days, hard disk, memory and processor speeds keep on increasing due to the demands of softwares with  increasing required [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.actiononline.biz/wp-content/uploads/2007/05/personalized-gmail.jpg" alt="Personalized Gmail using your own Domain Name" /></p>
<p>One way to save space on your web hosting account and have a large email box is simply using <a href="http://www.gmail.com" target="_blank" title="Google Mail">Gmail&#8217;s service</a> but still use your personalize domain name email account.</p>
<p>Things are getting bigger now a days, hard disk, memory and processor speeds keep on increasing due to the demands of softwares with  increasing required specifications. Data files are increasing in size as well and sharing data online via <acronym title="Instant Messenger">IM</acronym> or email requires larger email boxes and higher bandwidth speeds.</p>
<p><span id="more-89"></span>And as domain name prices drop, where you can <a href="http://www.omnidomain.net" target="_blank" title="$8.88 domain names">get a domain for less than $10/year</a>, and <a href="http://www.ydswebsolution.com/web.host/competitive/cheap/p/hosting/plans/packages/" target="_blank" title="Cheap Web Hosting">get some cheap web hosting,</a> you can have your own personalized email address having your own domain name like whatever@yourname.com. But in every hosting account with some email service, you pay for space and bandwidth. The larger it is, the larger you need to pay on a regular basis.</p>
<p>Now this is assuming you have your own domain name and hosting service but wants to save on web hosting space by moving your email to Gmail.</p>
<h3>How to receive emails</h3>
<p>Most web hosting companies will really offer email forwarding, most of the time for free, sometimes with a limited number or sometimes unlimited. And instead of using an email POP3 account on the server, you can simply not create one or delete it if you have one already to save on space and <strong>just make an email forwarder going to your free Gmail email address</strong>. So receiving emails is simply done by checking your emails on Gmail. So for example, if the email is whatever@yourname.com, simple set this to forward to your Gmail email account. Obviously you need to own your own domain name already and should probably have a hosting account as well for your website. If you do not have this but plan on having your own personalized domain name email, you can <a href="http://www.omnidomain.net" title="Cheap domains for less than $10/year." target="_blank">buy domains for less than $10 bucks a year</a>, just add a little bit more for hosting, and get the ideal plan for your hosting needs. Each hosting provider has a different procedure in doing email forwarding in their control panel. If you have any trouble doing this, it is best to contact your web/email hosting provider.</p>
<h3>How to send emails</h3>
<p>Since you are now using Gmail, you do not want people to see your Gmail address and want to show them your personalized email address like whatever@yourname.com. You can simply change the settings in Gmail do this:</p>
<ol>
<li>Login to your Gmail account and click on <strong>Settings</strong>.<br />
<img src="http://www.actiononline.biz/wp-content/uploads/2007/05/personalized-domain-in-gmail-step-1.jpg" alt="Login to your Gmail account and click on Settings" /></li>
<li>Click on <strong>Accounts</strong>.<br />
<img src="http://www.actiononline.biz/wp-content/uploads/2007/05/use-gmail-with-your-own-domain-step-2.jpg" alt="Click on the Accounts tab to add your own domain name email in Gmail" /></li>
<li>Click on <strong>Add another email address</strong> to add your own domain name email in Gmail.<br />
<img src="http://www.actiononline.biz/wp-content/uploads/2007/05/save-server-space-using-gmail-step-3.jpg" alt="Click on Add another email address to add your own personal domain name email." /></li>
<li>A popup window will appear. If none appears, your browser might be blocking it and be sure to allow popups from gmail.com. In this popup window, simply enter your name and your own domain name email and go to the <strong>Next Step</strong>.<br />
<img src="http://www.actiononline.biz/wp-content/uploads/2007/05/enter-your-own-domain-in-gmail-step4.jpg" alt="Enter your own name and your own branded domain name email for it to be the email in Gmail." /></li>
<li>You will be asked to verify your email. Simply click on the <strong>Send Verification</strong> button.<br />
<img src="http://www.actiononline.biz/wp-content/uploads/2007/05/google-email-gmail-use-with-your-own-personal-domain-name-step-5.jpg" alt="Send Verification email from Gmail to your email forwarder." /><br />
Since in the earlier step, we have already said that your personalized domain name email should already be forwarding to your email account, then all you have to do next is simply check your Gmail and click on the verification link and you are done.</li>
<li>When sending a new email, just <strong>Compose</strong> a new email in Gmail and you will be given options in the <strong>From</strong> field as a dropdown menu.</li>
</ol>
<p>That&#8217;s it. So now you get to save on email space, using the big 2GB+ and growing email box of Gmail. You get to use many of the other great features of Gmail, you can check it anywhere you have Internet access. Their spam filter is one of the best. They have good segregation and grouping of emails based on subject and fast searching of emails. And you get to use your own domain name on it, branded in whatever way you wish.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/web/server/maximizing-email-server-space-by-riding-on-googles-gmail-service/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apache Recompiling with PHP4 to PHP5 Upgrade Problems</title>
		<link>http://www.actiononline.biz/web/php43-to-php520-upgrade-problems/</link>
		<comments>http://www.actiononline.biz/web/php43-to-php520-upgrade-problems/#comments</comments>
		<pubDate>Sun, 26 Nov 2006 09:10:43 +0000</pubDate>
		<dc:creator>Benj Arriola</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://webgasm.actiononline.biz/server/2006/11/26/php43-to-php520-upgrade-problems/</guid>
		<description><![CDATA[This is an on going post as you read this right now, I will edit it as I go on.
I have just upgraded my PHP4.4.1 to PHP5.2.0 on a cPanel server using the WHM Apache Update. So far I have encountered the following problems:
AddType .html extensions for PHP - error 500.
Problem: This does not work [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is an on going post as you read this right now, I will edit it as I go on.</em></p>
<p>I have just upgraded my PHP4.4.1 to PHP5.2.0 on a cPanel server using the <acronym title="Web Host Manager">WHM</acronym> Apache Update. So far I have encountered the following problems:</p>
<h3>AddType .html extensions for PHP - error 500.</h3>
<p><strong>Problem: </strong>This does not work anymore if you have this line in your .htaccess file.</p>
<p><code>AddType application/x-httpd-php .php .php4 .php3 .phtml .html .htm</code></p>
<p><strong>Solution: </strong>This will work. I looked at the httpd.conf file and checked how it was written in there.</p>
<p><code>AddHandler application/x-httpd-php .php .php4 .php3 .phtml .html .htm</code><br />
<code>AddType application/x-httpd-php .php</code><br />
<code>AddType application/x-httpd-php .php4</code><br />
<code>AddType application/x-httpd-php .php3</code><br />
<code>AddType application/x-httpd-php .phtml</code><br />
<code>AddType application/x-httpd-php .html</code><br />
<code>AddType application/x-httpd-php .htm</code></p>
<h3>OK, The document has moved here.</h3>
<p><strong>Problem: </strong>I have <a title="301 redirection using PHP" href="http://webgasm.actiononline.biz/seo/2006/05/15/301-redirect-pages-using-php/">PHP 301 Redirect pages</a>, in fact I use it on this blog too. And instead of the page just directing. It shows an intermediate page that says:</p>
<blockquote><p>OK<br />
The document has moved <u>here</u>.</p></blockquote>
<p>
A message like this will really appear if there is some code before the PHP redirection code. And I had none since it was the first thing in my Wordpress template, all the way on top.</p>
<p>
<strong>Solution: </strong>In PHP5, it seems even having the header location code all the way on top, but is called by an include() or require() function, it will display the error message. So in my case where it was in a Wordpress template, I took the code out and placed it on top of the main Wordpress file. Disadvantage of this is, I will need to reinsert the code when a Wordpress update comes out.</p>
<h3>allow_url_include is disabled by default</h3>
<p>If you have been using include() functions with actual absolute URLs with get include errors. And I have no plans on enabling it. They were disabled by default for security purposes. If you are having this problem with your scripts, instead of using:</p>
<p><code>include("http://www.domain.com/path/file.php");</code>
</p>
<p>Use this instead on a cPanel server:</p>
<p><code>include("/home/account_username/public_html/path/file.php");</code></p>
<h3>ZenPhoto does not seem to work</h3>
<p><strong>Problem: </strong>getGalleryIndexURL(); function is not working. We are not sure why and there seems like no one has been writing about it yet in the ZenPhoto forums.
</p>
<p><strong>Solution:</strong> This function should output the URL of the photo gallery index. In templates it is usually used in album.php and image.php files for the breadcrumb navigation. Probably not the best solution but since it only occurs twice in our template, we just hard coded the link to the gallery index.</p>
<h3>ForceType problems and other problems with Dew-Code phpLinks</h3>
<p><strong>Problem: </strong>A hosting client of mine using <a href="http://www.dew-code.com/">Dew-code phpLinks</a> had problems of the script not working. And I have found not only 1 problem but several.</p>
<p><strong>Problem with ForceType</strong>. The .htaccess file had this line:</p>
<p><code>ForceType application/x-httpd-php</code></p>
<p>Solution: Add SetHandler</p>
<p><code>SetHandler application/x-httpd-php</code><br />
<code>ForceType application/x-httpd-php</code></p>
<h3>$_SERVER[PATH_INFO] not supported by default</h3>
<p>
Here is what the PHP Manual has to say:</p>
<blockquote><p>cgi.fix_pathinfo: Provides real PATH_INFO/PATH_TRANSLATED support for CGI. PHP&#8217;s previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting this to 1 will cause PHP CGI to fix it&#8217;s paths to conform to the spec. A setting of zero causes PHP to behave as before. Default is zero. You should fix your scripts to use SCRIPT_FILENAME rather than PATH_TRANSLATED. </p></blockquote>
<p><strong>Solution:</strong> I became a fan of the PATH_INFO sometime early 2005 and has been using it for some time. But since PHP recommends not to use it anymore, instead of globally enabling it, I am going to modify all scripts to be more compliant to the new way of doing things. But then again, I barely have the time to rewrite everything. And I will just come up with a patch to the problem. thus I am going to use:</p>
<p><code>$_SERVER[PATH_INFO] = </code><br />
<code>substr($_SERVER[REQUEST_URI], strlen($_SERVER[PHP_SELF]));</code></p>
<p><s>Ok now back to discovering more problems, so far, I still have the ZenPhoto problem.</s></p>
<p>
<strong>UPDATE: </strong> Because of all these problems, I did a roll back to PHP4.4 and ran PHP5.2 on FastCGI and had Ruby on Rails enabled too. Thanks to <a href="http://tech.mikelopez.info/2006/11/30/ruby-on-rails-apache-fcgi-fastcgi-on-cpanel/" target="_blank">Mike on his PHP4/PHP5/RoR setup</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/web/php43-to-php520-upgrade-problems/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Enabling Wildcard DNS on CPanel Servers</title>
		<link>http://www.actiononline.biz/web/enabling-wildcard-dns-on-cpanel-servers/</link>
		<comments>http://www.actiononline.biz/web/enabling-wildcard-dns-on-cpanel-servers/#comments</comments>
		<pubDate>Fri, 14 Apr 2006 07:11:48 +0000</pubDate>
		<dc:creator>Benj Arriola</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://webgasm.actiononline.biz/server/2006/04/13/enabling-wildcard-dns-on-cpanel-servers/</guid>
		<description><![CDATA[In some cases, you will want a subdomain to be the same as the homepage of a website. For example:
http://www.domain.com
http://sub.domain.com
http://whatever.domain.com
http://something.domain.com
http://anything.domain.com
will all show the same page. Even if you just invented one subdomain up, it will still show the same page, the homepage. Err, hmmm what&#8217;s the use of that? Well for some this is totally [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases, you will want a subdomain to be the same as the homepage of a website. For example:</p>
<p>http://www.domain.com<br />
http://sub.domain.com<br />
http://whatever.domain.com<br />
http://something.domain.com<br />
http://anything.domain.com</p>
<p>will all show the same page. Even if you just invented one subdomain up, it will still show the same page, the homepage. Err, hmmm what&#8217;s the use of that? Well for some this is totally non-sense, but for some, it totally makes sense why to do this, where you can be having the same file running and just using server-side scripts to change content of a website dynamically. Now if you believe wildcard DNS is something you need to do in order to achieve something like this and is running a CPanel server, how can this be done?</p>
<p>First is, if you just have a shared hosting account and has no access to WHM and no SSH access to the httpd.conf file, you might need to ask permission from the server owner. If you run your own server, or is given the freedom to play around with these files, you can go ahead and follow the procedure.</p>
<p>But I do believe there may also be some other way to do this, maybe with just playing around with the .htaccess file, but tough regex commands and .htaccess modifications are not my cup of tea. Another thing is, I am not guaranteeing anyone that what you will do will not mess up your servers. Although this procedure has served me well, if ever something happens to your server as a result of following this procedure, I, the author, this website, my business, my friends, my cats and my dogs will not be held responsible for what ever losses may occur on your end.</p>
<p>Ok now, how to do it?</p>
<ol>
<li>Login to <strong>WHM</strong></li>
<li>Click on <strong>Edit DNS Zone</strong> on the side navigation.</li>
<li>Choose the domain to edit, and click on the <strong>Edit</strong> button.</li>
<li>Under <strong>Add New Entries Below this Line</strong> add this:<br />
Domain: <strong>*</strong><br />
TTL: <strong>14400</strong> (this is the default value)<br />
Record Type: <strong>A</strong> in (<strong>your IP address</strong>)</li>
<li><strong>Submit</strong> and this will now be added.</li>
<li>Access your <strong>httpd.conf</strong> file. Login as root, via SSH.</li>
<li>To access the file in a CPanel server go to:<br />
<strong># cd /etc/httpd/conf/</strong></li>
<li>Use your favorite text editor, or just simply type:<br />
<strong># pico httpd.conf</strong></li>
<li>Do a find on your domain and you may find something like this:
<p><code><VirtualHost ip.ip.ip.ip></code><br />
<code>ServerAlias yourdomainserver.com</code><br />
<code>ServerAdmin webmaster@yourdomainserver.com</code><br />
<code>DocumentRoot /home/yourdoma/public_html</code><br />
<code>BytesLog domlogs/yourdomainserver.com-bytes_log</code><br />
<code>ServerName www.yourdomainserver.com</code><br />
<code>User yourdoma</code><br />
<code>Group yourdoma</code><br />
<code>CustomLog /usr/local/apache/domlogs/yourdomainserver.com combined</code><br />
<code>ScriptAlias /cgi-bin/ /home/yourdoma/public_html/cgi-bin/</code><br />
<code></VirtualHost></code></p>
<p>On the line:</p>
<p><strong>ServerAlias yourdomainserver.com</strong></p>
<p>Change to:</p>
<p><strong>ServerAlias: *.yourdomainserver.com yourdomainserver.com</strong></li>
<li>Exit or press <strong>Ctrl X</strong> if using Pico.</li>
<li>Save the file when asked and replace the existing file.</li>
<li>Restart the apache web server by typing in:<br />
<strong># service httpd restart</strong></li>
</ol>
<p>Done! You are all set to go. Wildcard DNS Enabled on a CPanel Server</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/web/enabling-wildcard-dns-on-cpanel-servers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email Contact Form Spamming</title>
		<link>http://www.actiononline.biz/web/email-contact-form-spamming/</link>
		<comments>http://www.actiononline.biz/web/email-contact-form-spamming/#comments</comments>
		<pubDate>Mon, 13 Feb 2006 10:24:46 +0000</pubDate>
		<dc:creator>Benj Arriola</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.actiononline.biz/2006/02/13/email-contact-form-spamming/</guid>
		<description><![CDATA[My company has been experiencing a large amount of email contact form spams recently which is on the second wave af attack. The first wave was sometime mid-2005.
What these hacking people are doing are simply adding some email headers in the email form, like:
Content-Type: multipart/mixed;
MIME-Version: 1.0
From: random@whateverdomain.com
bcc: spammed@email1.com, spammed@email2.com, spammed@email3.com
The can probably try to add [...]]]></description>
			<content:encoded><![CDATA[<p>My company has been experiencing a large amount of email contact form spams recently which is on the second wave af attack. The first wave was sometime mid-2005.</p>
<p>What these hacking people are doing are simply adding some email headers in the email form, like:</p>
<blockquote><p>Content-Type: multipart/mixed;<br />
MIME-Version: 1.0<br />
From: random@whateverdomain.com<br />
bcc: spammed@email1.com, spammed@email2.com, spammed@email3.com</p></blockquote>
<p>The can probably try to add this in the <em>From</em> field or at the beginning of a <em>message</em>. Assuming your contact form has no <em>To</em> field and <em>Subject</em> since the contact form should go probably only to one place without a changing subject. With this code, the spammer is trying to in some email headers so that the server will process this and send out copies of the email to other people.</p>
<p>What is the bad part of this:</p>
<ul>
<li>Since the emails are sent via machine, so many can be sent in a few seconds. Your email box can be filled with thousands of emails in just a few minutes.</li>
<li>For every email you recieve, this can be multiplied by a factor of 2 or higher for other email addresses that received the same email. Depending on how many emails they placed in the <em>bcc</em> list.</li>
<li>The recipient of the email sees you are the source of the email. Gives you a bad reputation as a spammer.</li>
<li>Slows down the server with a large mail queue.</li>
<li>Several people can mark you as spam and have you listed in anti-spam company&#8217;s banned IP address list.</li>
</ul>
<p><img width="350" src="http://www.ydswebsolution.com/images/news/how-email-forms-work.jpg" alt="Email Contact Form" title="Email Contact Form" /></p>
<p><img width="350" title="Email Contact Form Spam" alt="Email Contact Form Spam" src="http://www.ydswebsolution.com/images/news/how-contact-form-spamming-email-works.jpg" /></p>
<p><a href="http://www.ydswebsolution.com/web.host/p/news/n/17/Email-Contact-Form-Spam-and-Spam-Filtering/" title="Email Form Content Spam" target="_blank">Clearer images can be found on the news page of YDS Web Solution.</a></p>
<p>Avoiding it can be done by:</p>
<ul>
<li>To not make the From field of the email the actual email address submitted by the sender. And just use something like mywebsite@mydomain.com and place the submitted email in the content of the message. So email headers cannot be added there.</li>
<li>Place a few lines in the beginning of the message content before sending.</li>
<li>Do not allow emails to be sent when the words content-type, mime-version and bcc are found.</li>
<li>Adding some kind of captcha. Try adding a comment to this post to see captcha in action of read this post: <a title="Avoiding Comment Spam" href="http://blog.actiononline.biz/2006/02/03/avoiding-comment-spam-on-wordpress/">http://blog.actiononline.biz/2006/02/03/avoiding-comment-spam-on-wordpress/</a></li>
</ul>
<p>Good luck to other people that get attacked.</p>
<p><strong>Related Links:</strong><br />
<a href="http://www.mikelopez.info/2006/02/13/preventing-contact-form-spamming/" target="_blank" title="Preventing Comment Spam">Preventing Comment Spam on MikeLopez.info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/web/email-contact-form-spamming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Accidental Delete - DNS Zones in CPanel/WHM, gave me problems in deleting user accounts on Redhat Linux</title>
		<link>http://www.actiononline.biz/web/server/accidental-delete-dns-zones-in-cpanelwhm-gave-me-problems-in-deleting-user-accounts-on-redhat-linux-2/</link>
		<comments>http://www.actiononline.biz/web/server/accidental-delete-dns-zones-in-cpanelwhm-gave-me-problems-in-deleting-user-accounts-on-redhat-linux-2/#comments</comments>
		<pubDate>Mon, 30 Jan 2006 10:40:41 +0000</pubDate>
		<dc:creator>Benj Arriola</dc:creator>
		
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.actiononline.biz/2006/01/30/accidental-delete-dns-zones-in-cpanelwhm-gave-me-problems-in-deleting-user-accounts-on-redhat-linux-2/</guid>
		<description><![CDATA[How my problem with CPanel/WHM started
There are several web hosting account administration softwares like Plesk, Ensim and CPanel. I have tried Plesk before and I am quite happy with CPanel right now. CPanel&#8217;s Web Host Manager (WHM) is pretty cool but I noticed everything that is related to deleting something, it does not ask you [...]]]></description>
			<content:encoded><![CDATA[<h2>How my problem with CPanel/WHM started</h2>
<p>There are several web hosting account administration softwares like <a href="http://www.swsoft.com/plesk" title="Plesk Reloaded Web Administration Software" target="_blank">Plesk</a>, <a href="http://www.ensim.com" title="Ensim Pro Web Administration Software" target="_blank">Ensim</a> and <a href="http://www.cpanel.net" title="CPanel Web Administration Software" target="_blank">CPanel</a>. I have tried Plesk before and I am quite happy with CPanel right now. <a href="http://www.cpanel.net" title="CPanel Web Host Manager (WHM)" target="_blank">CPanel&#8217;s Web Host Manager (WHM) is pretty cool</a> but I noticed everything that is related to deleting something, it does not ask you twice to confirm if you really want to delete it. I already made a mistake before when I clicked on <strong>Terminate Account</strong> and just because of a slip of the mouse and quickly clicking Ok, I noticed that I chose the wrong account and that was the end of it. The account was erased, but good thing I had a back up where I recreated the account and re-uploaded everything.</p>
<p>Now, I have this hosting account where I did DNS entry changes. I started with <strong>Edit DNS Zone</strong> and added some <em>A Records</em>. But I then realized what I did was wrong. So I wanted to remove the DNS zone entry and decided to click on <strong>Delete a DNS Zone</strong>. I chose the domain and clicked on Ok and OH NO!!! I thought the next screen will ask me what type of record I will delete and it deleted the whole zone without asking me any confirmation. Well dumb me, it could happen to anyone. Deleting the one entry removed the hosting account from the list of accounts. I then clicked on <strong>Add a DNS Zone</strong> and I got the DNS zone back for the domain. But it still did not appear in the list of accounts in WHM, but when visited, the account was still live.</p>
<p><span id="more-50"></span>The only solution I thought of was, creating a new account on top of it. But I could not create it since WHM was telling me the user already exist. I can&#8217;t seem to delete this user and account in WHM since it is no longer listed ever since I deleted the DNS zone. I decided to create one with a new username and just disregard the old username for a while. It worked, I mean creating the account worked.</p>
<p>But when visting the site, it was still pointing to the old username account. I clicked on <strong>Terminate an Account</strong> hoping I get both usernames deleted. After the terminate account process, I tried to create it again and it still said that the username already exist. So my real problem was deleting this user name and the hosting account attached to it.</p>
<h2>How I deleted the user account on Redhat Linux</h2>
<p>I was chatting with my friend in the Philippines, <a href="http://www.mikelopez.info/articles/blog/how-to-build-your-own-warpgate.html" title="Mike Lopez, maker of the warp gate" target="_blank">Mike Lopez (who made his own warp gate btw)</a>, a Linux user told me to SSH to my account and login as root. Then do a <strong>deluser</strong>. And this is what he uses on his <a href="http://www.us.debian.org/" title="Debian - The Universal Operating System" target="_blank">linux distro, Debian</a>. Deluser did not work on <a href="http://www.redhat.com/" title="Redhat - The Open Source Leader" target="_blank">Redhat Linux</a>. So he suggested to try rmuser, userrm and all other stuff. All guesses did not work. And while searching online, it was userdel! But that did not solve my problems right away. What I did was:</p>
<p>Login as root:</p>
<p><code># userdel <em>username</em><br />
# rm -r /var/spool/mail/<em>username</em><br />
# cd /etc<br />
# pico group<br />
</code><br />
Look for the line with the username you want to delete. And delete that line.</p>
<p>I believe my next step was supposed to be:</p>
<p><code><strike># rm -r /home/<em>username</em></strike><code></code></p>
<p>But for some reason I chickened out in doing that. I decided to create an account in WHM with the same username and domain. And you will notice you will not have permission to the folders in the created <a href="http://coreftp.com/" target="_blank" title="Free FTP Software! CoreFTP">FTP</a> account and also in CPanel, and you have no power to change it. So going back to the root user in <a href="http://www.tucows.com/preview/195286" target="_blank" title="Free SSH Software - Putty">SSH</a>, I did a:</p>
<p><code># cd /home<br />
# chmod -R 777 <em>username</em></code></p>
<p>Went back to WHM, terminated the account and created it again. And now my problem was solved.</p>
<p>This post is not for the <a href="http://migs.paraz.com/" target="_blank" title="Philippines Lord of Linux - Lord Migs Parazz">Linux gurus</a> out there. This is for the lame Linux guys like me doing dumb mistakes with their own servers. I hope this helped you dumb Linux user like me. *lol* So that problem will never occur to <a href="http://www.ydswebsolution.com" target="_blank" title="Web Hosting Server with Custom Prices for your convenience">my server</a> again, no worries clients. haha.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actiononline.biz/web/server/accidental-delete-dns-zones-in-cpanelwhm-gave-me-problems-in-deleting-user-accounts-on-redhat-linux-2/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
