Link Details

Link 1204817 thumbnail
User 1274267 avatar

By amritsinghlotay
via codelator.com
Submitted: Aug 29 2014 / 00:19

A .htaccess (hypertext access) is a file on the web server that allows to create a global configuration for web server. They are generally placed inside the root folder and has various functions such as redirecting url, adding prefix to a url, prevent hotlinking, restricting access, redirecting to error pages, compressing a website to make it more faster, cache control etc. A .htaccess file can be created on your computer or on the server. The main function of .htaccess is to give instructions to the server. The permission parameters set for a .htaccess file is 644. You can create .htaccess file by creating new file and naming it as .htaccess
  • 2
  • 0
  • 51
  • 28

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (2)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java