The .htaccess is a simple method that allows you to customise the way the webserver works on a per directory basis. The .htaccess file is a simple ASCII text file, which when placed in a certain directory in your webspace, will cause the webserver to use that configuration on all files in that directory and any files in any subdirectories.
When you have finished creating your .htaccess code, click on the “Select All” button and copy (CTRL + C) and paste (CTRL + V) the code into a text editor and save the file as .htaccess. The .htaccess file should have the name “.htaccess” (all lowercase), and can either be created using a command line text editor when logged in using ssh or can be uploaded by ftp.
more info |