-3

Possible Duplicate:
what is .htaccess file in php?

As per my research this file is used for Url rewrites.

Community
  • 1
  • 1
user1443655
  • 169
  • 1
  • 3
  • 10
  • Show some research. You can come to know what is htaccess from various website. Do a search, if its unclear , and your struggling and have searched enough then post it – meWantToLearn Sep 12 '12 at 07:10

2 Answers2

0

It allows you to set or modify per-directory configuration settings without having to change configuration files or restart the server.

Jon Lin
  • 142,182
  • 29
  • 220
  • 220
0

.htaccess allows you to micromanage permissions. Apache generally discourages its use unless it's overriding a general behavior since it can be slower (if parent folder does not contain .htaccess, it must then check the parent of parent folder for .htaccess on up to the root folder).

However that doesn't mean it can't be useful, simply that you must be tactful in its usage. Where general apache configuration is to a bulldoser, .htaccess would be to a shovel. Just know when to pick a bulldoser over a shovel and you'll be fine.

A decent article can be found here regarding .htaccess.

Neil
  • 5,762
  • 24
  • 36