Modern users expect websites to load instantly. Even a few seconds of delay can increase bounce rates and reduce conversions. For site owners running Apache servers, improving performance is essential for both user experience and search rankings. One powerful solution is mod_pagespeed, a performance optimization module originally developed by Google that automatically enhances site speed without requiring manual optimization of every file. What Is mod_pagespeed? mod_pagespeed is an extension module for the Apache Software Foundation web server that automatically optimizes website resources. It applies filters that rewrite and compress assets such as: These optimizations reduce load time, improve rendering speed, and enhance overall site performance. Why Use mod_pagespeed? Key Benefits For businesses managing multiple websites or high-traffic platforms, this module …
Linux
Log files play a critical role in Linux systems. They help administrators monitor system activity, troubleshoot issues, track application behavior, and maintain security. As systems run continuously, log files can grow very large over time. If left unmanaged, this can consume disk space and affect system performance. Logrotate is a log file management utility designed to solve this problem. It automatically rotates, archives, compresses, and removes old log files, ensuring that logs remain manageable while preserving important historical data. Log rotation can be based on file size, age, or time intervals, and it is usually handled automatically through cron jobs or systemd timers. The main purpose of log rotation is simple: to prevent log files from growing indefinitely while keeping …
Runlevel is a preset operating state on a Unix-like operating system. A run-level is a software configuration of the system that allows only a selected group of processes to exist. A system can be booted into (i.e., started up into) any of several run-levels, each of which is represented by a single-digit integer. Each run-level designates a different system configuration and allows access to a different combination of processes (i.e., instances of executing programs).
mod_fcgid is a high-performance Apache module designed to improve the execution of CGI applications. It was introduced as a binary-compatible replacement for FastCGI while providing better control over process management and resource usage. Unlike traditional CGI modules such as mod_cgi or mod_cgid, mod_fcgid keeps application processes running in the background, allowing them to handle multiple requests efficiently without restarting for every connection. Why Use mod_fcgid? mod_fcgid offers several advantages: Installing mod_fcgid Step 1: Install Apache Components On Red Hat or CentOS systems, install Apache with the threaded MPM Worker module to reduce memory consumption: Step 2: Enable the fcgid Module Enable the Apache fcgid module: Step 3: Install PHP CGI Packages Install PHP CGI and required extensions if they are …
mod_evasive is a detection and network management tool, and can be easily configured to talk to IP chains, firewalls, routers, etc . Detection is performed by creating an internal dynamic hash table of IP Addresses and URLs, and denying any single IP address that matches the criteria. #cd /usr/src #wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz #tar xzf mod_evasive_1.10.1.tar.gz #cd mod_evasive #apxs -cia mod_evasive20.c LoadModule evasive20_module /usr/lib/httpd/modules/mod_evasive20.so
SPDY is a new networking protocol used for speeding up the web. It combines with http protocol with several speed related features that can reduce page load time. It uses stream multiplexing and header compression to improve speed. In order to use SPDY, a web server and a browser that both support SPDY is needed. Google chrome and newer versions of Firefox support SPDY protocol. In Apache HTTPD server mod_spdy module add support to SPDY protocol. SPDY protocol uses HTTPS so site need to serve content over HTTPS in order to benefit from mod_spdy.mod_spdy serves requests like Apache worker MPM. It serves requests using an internal thread pool which interact badly with non-thread-safe Apache modules. In order to server php …
The following are the steps to install awststs in cpanel: 1. Download wastats source: http://awstats.sourceforge.net wget http://nchc.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz 2. Extract the tzr.gz file #gtar -zxvf awstats-7.0.tar.gz 3. Change the permissions of the awredir.pl and awstats.pl files to 755 (under awstats-7.0/wwwroot/cgi-bin/) 4. Move awredir.pl and awstats.pl and the directory icons to /home/user/cgi-bin 5. Copy /home/user/tmp/awstats/awstats.domain.com.conf to /home/user/cgi-bin 6. Edit /home/user/cgi-bin/awstats.domain.com.conf and search for the “DirIcons” line, and change it to show: DirIcons=”/cgi-bin/icon” 7. Check statistics at http://www.yourdomain.com/cgi-bin/awstats.pl?config=yourdomain.com. If you require help, contact SupportPRO Server Admin
IPTABLES is a powerful firewall utility used in Linux servers to control incoming and outgoing network traffic. It stores firewall configuration rules in the file /etc/sysconfig/iptables. To open a specific port, root privileges are required because firewall rules directly affect system security. Step-by-Step: Open a Port Using IPTABLES 1. Edit the IPTABLES Configuration File Open the configuration file using a text editor: 2. Add a Rule to Allow the Port Append the following rule to allow incoming traffic on a specific TCP port: Replace [port_number] with the required port number (for example: 8088 or 8090). 3. Restart IPTABLES Service After saving the file, restart the firewall service to apply changes: 4. Verify the Open Port Confirm that the port is …
If you corrupt the SSH settings on your server and lock yourself out of ssh, then you can reset the SSH configuration settings from WHM by following the steps below: 1. Login to your WHM on a non-secure port that is: 2086 For example http://serverip:2086 2. Then browse the URL to reset the SSH configuration settings: http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart After running the script, the default port 22 will open up and after logging in the server via ssh we can edit the config file of sshd and then restart sshd service to apply the changes made. /var/cpanel/safe_sshd If you require help, contact SupportPRO Server Admin
GNU/Linux provides a tool/command to fix this issue: ‘dpkg-reconfigure xserver-xorg’ is the command for fixing the Xserver loading problem. Steps:- First, log in as a super (or root) user from the console. Then, run dpkg-reconfigure xserver-xorg (if you’re on Ubuntu and can’t log in as root, run sudo dpkg-reconfigure xserver-xorg). You will see a window/wizard as ‘Configuring xserver-xorg’ , Just accept the default answer and go to the next one. At the end of the wizard you will be exited from the configuration window/wizard, then just reboot the system your graphics(GUI) loading problem will be fixed. If you require help, contact SupportPRO Server Admin