Apache: Comprehensive List of .htaccess Directives, Rules, and Commands

However, an “absolutely complete” list is technically impossible to print here in full—because the .htaccess file can use nearly any Apache directive that is allowed by the…

Read More

Increasing the Maximum Image Upload Size on a WordPress Site

Increasing the upload file size limit in WordPress allows you to upload larger images (or other media) without errors. Many hosting providers set a default upload limit…

Read More

Laravel Tutorials: How to run Laravel Projects in Subdirectory

The issue you’re experiencing is common with Laravel applications when deployed in a subdirectory. By default, Laravel’s entry point is the public directory, which means you need…

Read More

Setup phpvibe and mediavide with subdirectory

Checklist 1 – Content of .htacces Checklist 2 – Make sure admin user is created in database table vibe_users Checklist 3 – Mcrypt must be installed Checklist…

Read More

How to Secure .git repo repository files and directory web inaccessible

Many times, people use git repository to host website in productions by clone-push-pull but it has one drawbacks, it appears the .git directory is accessible via the…

Read More

Apache non www to www config Setting

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

How to force/redirect from http to https using .htaccess

This is the best for www and for HTTPS, for proxy and no proxy users Example Code – 1 – Forcing the domain to serve securely using…

Read More

How to protect .env file in Laravel.

Step:1 go to in your project and open .htaccess. Step:2 Then write this code in .htaccess file Step:3 After save you have run this code in your…

Read More

Security practices for using git repository in production for deployment

Many times, people use the git repository to host websites in productions by clone-push-pull but it has one drawback, it appears the .git directory is accessible via…

Read More

Laravel – Remove Public from URL using htaccess

Step 1: Rename File In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at…

Read More

Joomla Website Security

Check your template’s index.php file, I’m going to guess that code was inserted there. Check what time it was modified, then go through your access logs for…

Read More

Apaceh HTACCESS Tutorial

Introduction What Can I Do? Creating A .htaccess File What is .htaccess Why Not to use .htaccess Error Documents | Custom Error Pages Blocking users by IP…

Read More