What is htaccess and what are it benifits?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is htaccess and what are it benifits??

HtAccess

12th Jan 2017, 3:37 PM
Raju Master
Raju Master - avatar
2 Answers
+ 5
.htaccess is 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. These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer. These facilities include basic redirect functionality, for instance if a 404 file not found error occurs, or for more advanced functions such as content password protection or image hot link prevention.
12th Jan 2017, 4:20 PM
Alex
Alex - avatar
17th Oct 2022, 4:30 PM
quentin buchanan
quentin buchanan - avatar