Htaccess File Tutorial and Tips
Htaccess File Tutorial and Tips. [THIS DOCUMENT COPIED FROM http://www.9lessons.info/2013/11/htaccess-file-tutorial-and-tips.html ] Using .htaccess file we can easily configure and redirect Apache Web Server file system. This post will explain you how to create friendly URLs, sub domain directory re-directions and many more. Note: .htaccess file will be in hidden format, please change your folder and file settings to view this file. How to Create a .htaccess File? Open any text editor application and file save as with .htaccess name and enable mod_rewrite extension in php.ini file in Apache Web Server configurations. Default directory Listing Disable directory Listing If you want to disable folder files listing, include following code. # Disable Directory Browsing Options All -Indexes Error Pages Here error page is redirecting to error.html . er...