In some situations,  our web server receive too many connections. The number is much higher than normal, that could be an issue with our code, or we are being attack. While waiting to find a solution, we need a solution to keep the service running. The easiest solution is to restart our web server when it’s go over our limit. We’ll keep the log what the server is running, then restart the server. Later on we can see our log and do the fine tuning. cnt=ps -Af | grep apache2 | grep -v rotatelogs | grep -v grep | wc -l now=date +%Y-%m-%d_%H-%M # changeRead More →

Sendmail use “access” database to control who can use this email server to send email out. It’s easy, just edit this file /etc/mail/access   , but access is a database file, after you edit it you need to recreate database map makemap hash /etc/mail/access < /etc/mail/access   Put your control list in the at the end of the file: [email protected] REJECT cyberspammer.com REJECT TLD REJECT 192.168.0 RELAY 192.168.1 OK   REJECT: reject all email from that source RELAY: allow that IP range to use our server as a relay. OK: allow to send any email even though it's blocked in some other rules.Read More →

Good Links: Unlocking the Power of Reliable Online Resources In the vast expanse of the internet, we are constantly bombarded with a never-ending flow of information. The challenge, however, is not the abundance of content, but rather finding good links—links that lead us to valuable, trustworthy, and relevant resources. These links are the digital pathways that help us explore, learn, solve problems, and entertain ourselves in an increasingly complex online world. But what makes a link “good”? Why does it matter? And how can you ensure that the links you click on lead you to useful, credible information? In this article, we’ll delve into theRead More →

I used to put this content in my .htaccess to treat .html as php file, but some how it’s no longer working in godaddy. AddType application/x-httpd-php .htm .html AddHandler x-httpd-php .htm .html I found a solution, use the below text: Options +ExecCGI AddHandler x-httpd-php5-cgi .html  Read More →

In my experience, we need to migrate to 1.7 first in order to move all attachments  from file system to database , if you go directly from 1.6 to 1.10 , attachment might be missing. We need to run the following queries before to fix some issues with database: ALTER TABLE supportedf_help_topic ADD INDEX(topic); ALTER TABLE supportedf_department ADD INDEX(dept_name); If you have duplicate topic you might need to clear the topic first TRUNCATE supportedf_help_topic;Read More →

Flickr is a very popular web hosting service used by many people to store photos and videos, as well as share them with others. However, it is not particularly easy to upload entire photo collections, unless you find the right application to help you out. Flickr Uploader is a fairly simple utility that can send all your photos and videos to a Flickr account automatically, and is also capable of creating albums based on folder names. Easy-to-use tool that allows you to start uploading in seconds First and foremost, you need to select the folder you wish to backup and specify whether or not both photosRead More →

Good Links: A Guide to Valuable Online Resources In today’s digital world, the internet is an endless sea of information, entertainment, tools, and resources. With so much content available, it can be overwhelming to know where to find the best and most reliable information. That’s where good links come in. Whether you’re looking for educational resources, useful tools, or insightful articles, finding the right links can enhance your online experience. In this article, we’ll explore what makes a link “good,” why good links are valuable, and some examples of categories where such links can prove especially useful. What Makes a Good Link? A good linkRead More →