Sometimes you may need to filter logs by time range or date range. Here is how to filter logs between date range in Linux.
Apache
How to Redirect IP to Domain URL using .htaccess in Apache
Sometimes you may need to redirect IP to domain URL using .htaccess in Apache. Here is how to do it.
How to Fix Mixed Content/Insecure Content Issue in Apache/PHP
Browsers don’t load mixed content and issue security warning. Here is how to fix mixed content/insecure content issue in Apache/PHP.
How to Force HTTPS in .htaccess in Apache
Sometimes you may need to automatically redirect HTTP to HTTPS URLs on your website. Here is how to enforce HTTPS in .htaccess in Apache.
How to Set Content-Disposition Header to Attachment in Apache
Sometimes you may need to enable downloads on your website. Here is how to set content-disposition header to attachment in Apache server.
How to Force Download in Apache
Sometimes you may need to force users to download files instead of opening them in browser. Here is how to force download in Apache server.
How to Redirect All Wildcard Subdomains to Root Domain in Apache
Sometimes you may need to redirect all wildcard subdomains to root domain in Apache. Here are the steps to do it using .htaccess file in Apache.
How to Disable mod_deflate in Apache
Sometimes you may need to remove mod_deflate from Apache server. Here are the steps to disable mod_deflate in Apache.
How to Create Wildcard Subdomain VirtualHost in Apache Server
Sometimes you may need to create virtual host for wildcard subdomain. Here are the steps to create wildcard subdomain in Apache server.
How to Block Referrer Spam with .htaccess
Sometimes you may need to block visitors by referrer values. Here is how to block referrer spam with .htaccess in Apache server.