Error 404 when viewing a page protected with a .htpasswd file

Problem When you attempt to view a page that is located within a CMS (Drupal, WordPress, Joomla, etc) site folder and uses a .htpasswd file, you are redirected to the site’s 404 error page. Cause When authentication is needed, it may be searching for a files on the server with the name “401.shtml” or similar. This request… Continue reading Error 404 when viewing a page protected with a .htpasswd file

.gitignore file not ignoring it’s specified files

Problem You have a repository with a .gitignore file. However, the files are still showing tracked changes. Solution Using GIT Bash, navigate to the repository folder (e.g. “cd C:\Projects\Web”) Make sure you commit any changes before proceeding to the next step. Run this command to empty the repository’s index: git rm -r –cached . Once that… Continue reading .gitignore file not ignoring it’s specified files