PHP HTACCESS file use ?

What is a HTACCESS file and why do we use it?
Answer:
HTACCESS FILE
This file is a configuration file which is used on Apache web servers to control many features of the server.
Its a very powerful config file which can be placed in the root directory or any sub directory with rules in it.

The .htaccess file gives you a lot of control over what happens on your site and restrictions for people visiting your site.

SOME COMMON USES ARE AS BELOW:
1 URL REWRITING
2 SSI
3 MIME types
4 DIRECTORY LISTING
5 CACHE CONTROL, etc

0 comments:

Post a Comment