Most of the shared hosting servers will be running php 5 with phpSuExec enabled.And so users are not able to have php flags in their .htaccess file. Inserting php flags in .htaccess files is a common cause of internal server errors on servers with phpSuExec enabled. One way around this is to create a custom php.ini file with the php values you need. The custom php.ini file we are creating should have the following permissions. permission: 644 ownership: cpanelusername:cpanelusername We can simply create a blank php.ini file and can add values that need to override. But there are security concerns with this method. PHP will revert to an absolute base configuration, which means some applications may throw a fit because …
When configuring email, one of the most common decisions is choosing between POP and IMAP. Both are email retrieval protocols, but they work in very different ways. POP (Post Office Protocol) is an older protocol designed for offline email access. IMAP (Internet Message Access Protocol) is more modern and supports multi-device email access. Understanding the difference between POP and IMAP helps you choose the right setup for your business or personal email. What Is POP (Post Office Protocol)? POP was designed to download emails from the mail server to a local computer. Once downloaded, the messages are usually removed from the server. POP typically uses port 110 (or 995 for secure SSL connections). This means: Emails are stored on one …
The time that web pages take to load increases because static resources must be downloaded over the network. These resources can be cached by the browser using HTTP caching. Once a resource is cached, the browser loads the stored copy instead of downloading it again, reducing page load time. Browser caching helps reduce the total payload size, saves bandwidth, and eliminates repeated HTTP requests for the same resources. Cacheable resources include JavaScript and CSS files, image files, and other binary objects such as media files and PDFs. HTML files are usually dynamic and should be cached carefully, typically for shorter durations. In Apache, browser caching is handled using the mod_expires and mod_headers modules, which control cache behavior through HTTP headers …
suPHP adds an extra layer of security to your server by ensuring that PHP scripts run under the account’s own user instead of the default nobody user used by Apache in DSO mode. This makes it easier to track vulnerabilities and isolate security issues caused by insecure PHP scripts. Switching from DSO to suPHP improves accountability, enhances security, and prevents unauthorized access across user accounts in shared hosting environments. Why Use suPHP? Using suPHP offers several advantages: Steps to Convert PHP Handler from DSO to suPHP 1. Switch to suPHP Handler Login to your server as root and run: Alternatively, you can switch via WHM: Once completed: 2. Update Folder Permissions Set all directory permissions to 755: 3. Update File …
Resizing an LVM partition, especially reducing the root ( / ) partition, requires careful planning because the root filesystem cannot be unmounted while the system is running. To safely perform this operation, the server must be booted into a rescue environment, allowing administrators to modify disk partitions without risking data corruption. This guide explains how to safely reduce an LVM root partition using SystemRescueCd. Prerequisites Before starting: 👉 http://www.sysresccd.org/Download Step 1: Boot the Server in Rescue Mode Reboot the server and enter BIOS/Boot Menu. Step 2: Identify the Root LVM Partition Before resizing, identify which LVM partition is mounted as /. You can verify this using: Check /etc/fstab Or display logical volumes Note the LV Path, which typically appears as: …
DKIM is an email authentication technology which uses cryptography to validate that a message was sent by an authorized source. It is a method for associating a domain name to an email message, thereby allowing a person or organization to claim some responsibility for the message. In DKIM, any sending or handling mail agent either an MTA (Mail Transfer Agent) or a MUA (Mail User Agent) can cryptographically sign mail by adding a DKIM-Signature mail header to the mail item.
Introduction CW Image Optimizer Plugin reduces image file size and improve performance using Linux image optimization programs. This will automatically and without any loss optimize the images as we upload them to your blog. It can also optimize the images that have already uploaded in the past. Because CW Image Optimizer uses lossless optimization techniques, your image quality will be exactly the same before and after the optimization. The only thing that will change is your file size.
TUN/TAP is a virtual network device that sends and receives packets to and from userspace rather than a physical interface. OpenVZ supports VPN inside a container via kernel TUN/TAP module and device.
How to Install and Configure OpenDKIM with Postfix for Secure Email Authentication ?
Email authentication plays a critical role in improving email deliverability and protecting domains from spoofing. DomainKeys Identified Mail (DKIM) adds a digital signature to outgoing emails, allowing receiving servers to verify that messages are legitimate and unaltered. This guide explains how to install and configure OpenDKIM with Postfix to enable DKIM signing on a Linux server. What is OpenDKIM? OpenDKIM is an open-source implementation of the DKIM standard. It integrates with mail transfer agents like Postfix to automatically sign outgoing emails using cryptographic keys. Benefits include: Step 1: Install Required Packages Install the RPMForge repository and required packages. Step 2: Disable Sendmail Stop Sendmail and remove it from startup services. Step 3: Enable Services at Boot Enable Postfix and OpenDKIM …
ls command will surely be one of the most used command while working with Linux command line. Think of a situation when your ls binary get corrupted. Is there any alternative of “ls” command. The Answer is “YES” echo does ls