I have a situation where there is one critical website under our company server is critically need to be sync to our backup server. Sync means whatever changes happen in master server, it will replicated to slave server. Yes, you can rsync. But, I do not want to schedule the task as cron to sync. [...]
Following point is written from my experience and webmaster observation since becoming server administrator of various web servers:
Directory Browsing Enabled
Depending on your web host server configuration, you might need to check this feature should be DISABLED. If not, it will allow unnecessary access by public user to other files. [...]
If you install Apache and PHP web server from your distribution repository, the system will auto-configure your web server to handle PHP script using Dynamic Shared Object (DSO) handler. The major effect of DSO is Apache process will be run under Apache user (it can be user nobody, www-data or wwwroot). If some PHP script [...]
My boss recently wants me to create a dummy PHP information page as known as phpinfo. This page can gives much more information on your server environment and application supported inside the web server. His purpose is only want to mislead anyone who is trying to view the phpinfo.php file in the web server. And surprisingly, [...]
Usually, when we want to replicate or synchronize files between network, we will use rsync, scp or sftp. This kind of replication is one-way replication method, it will sync from master (source) to slave (destination) only. What about if we want to have 2 folders which both are masters? So we need a two-way replication [...]
Our server has facing problem due to heavy development on web applications project. As the result, it cause our server hard disk turn full within a week. It all cause by the error log, which actually being rotated on weekly basis and has grow to 103GB within a week after rotation!
In the [...]
If you are a webmaster, then you should know the well-known log analyzer software called AWStats (Advanced Web Statistics). AWStats will convert your Apache access logs into a statistic page with lot of graphs and infographics.
Lets open our mind with another web server, which is 6x faster than Apache in handling static files and 50% faster in processing PHP, called LiteSpeed Web Server (LSWS). Variable as below:
OS: CentOS 6 64bit
LiteSpeed version: Standard Edition – Version 4.1.9
Root path: /usr/local/lsws/mydear
My boss has asked me to generate a simple report on list of IP addresses which access to our website yesterday with a “ref=1” keyword. What I need most is the Apache access logs which located under /etc/httpd/domlogs/mydomain.net (default Apache logs for cPanel servers).
From the log files, I will need to extract yesterday’s log [...]
One of our website host contents which can be downloaded by clients. Since this content is getting popular, our bandwidth usage and server load are getting higher everyday and we need something to balance this out. To solve this issue, I have using an application called Pound, which is a reverse proxy, load balancer, auto HTTP [...]
In my environment, I have 5 different MySQL database servers running separately under different geographical location. Since it run standalone and not in cluster mode, I need to have one platform to manage these database servers altogether.
PHPmyAdmin is able to do this, with some changes on the configuration files. You just need to allow [...]
ModSecurity is a module for Apache to act as a web application firewall, which bring another security layer to your website. Nowadays, it is very important to have this protection so your website will be protected from Internet threats. Based on my experience as system administrator, our intrusion detection system averagely detected 10 – 15 [...]
- Raw Video: Apple 1 computer sells for more than $650k - Vancouver Sun 25 May 2013
- Samsung Galaxy S4 road show begins in Karachi - Pakistan Daily Times 25 May 2013
- International Day For Biological Diversity Highlighted By Greenpeace - Malaysia Sun 25 May 2013
- Did Fairphone just change my life? - PhoneDog 25 May 2013
- Planets On Memorial Day: See Jupiter, Mercury, Venus In Night Sky - Huffington Post 25 May 2013