In this video I cover that the .htaccess file is a configuration file used by the Apache web server to manage settings on a per-directory basis. It allows you to override global settings without modifying the main server configuration file. I show the .htaccess file I use, with explanations, for my homegrown Model-View-Controller framework that grabs the URI using the PHP $_SERVER['REQUEST_URI'] function.
Associated Article : https://www.phpcoderusa.com/what-is-the-apache2-htaccess-file/
About Me : Keith Smith - a Freelance PHP Programmer Turn PHP Developer Mentor.
Subscribe to my newsletter to keep up with what is going on and to findout about any special offers : https://www.phpcoderusa.com/newsletter-subscription/
Visit my website : https://www.PHPCoderUSA.com/
Don't forget to Subscribe to This YouTube Channel So You Do Not Miss Any Future Videos.
My Social Media Pages:
- Facebook : https://www.facebook.com/PHP-Coder-USA-346066869165684/
- LinkedIn : https://www.linkedin.com/in/keith-smith/
#phpcoderusa