What is .htaccess?

0
782
What is .htaccess?
What is .htaccess?

.HTACCESS define as

“It’s a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn ‘loaded via the Apache Web Server’, then the .htaccess file is detected and executed by the Apache Web Server software.”

Use of .htaccess-

1) .htaccess file is basically used for url rewriting.
2) .htaccess file used to make the site password protected.

Below example show how we can use the htaccess file.

htaccess

LEAVE A REPLY

Please enter your comment!
Please enter your name here