Apache / Server Tutorials
Hide Your .htaccess Settings Using … .htaccess
Your .htaccess file can hold a good amount of information about the structure of your website, some of which should not be exposed to users. These settings include mod_rewrite settings, php_flag/php_value settings, and SetHandler directives.Luckily, you can use your .htaccess file to hide your .htaccess...
Set Your Directory Index (Homepage) Using .htaccess
As every web developer knows, the server default for a directory's default file is index.{extension}. Apache is usually set to index.php or index.html. It's a good practice to set your DirectoryIndex setting in your .htaccess file, especially if you're hosting your website on shared...
Fixing IIS & PHP Variables – Set $_SERVER[‘REQUEST_URI’] Yourself
About 8 months into my programming career I needed to code a content management system (CMS). This was quite a challenge so early into my professional journey but I was up to it. The front-end was the easiest part of the project -- a...