How to stop your Apache web server from serving .git directories and files?
Date Created: 2021-02-07
Configuring your Apache .conf file is a little different on cPanel. You must NOT make changes to your main apache configuration file on cPanel because it will be automatically regenerated and overwritten. Thus, your changes will not stay in effect for very long. In the video I show you how to create a custom Apache configuration file which will deny access to Git repository directories and files and including the .gitignore file.
Title: How to stop your Apache web server from serving .git directories and files? Date Created: 2021-02-07
Configuring your Apache .conf file is a little different on cPanel. You must NOT make changes to your main apache configuration file on cPanel because it will be automatically regenerated and overwritten. Thus, your changes will not stay in effect for very long. In the video I show you how to create a custom Apache configuration file which will deny access to Git repository directories and files and including the .gitignore file.