.htaccess

What Does .htaccess Mean?

The .htaccess file is a configuration file for the Apache HTTP Server that allows administrators to specify options for individual directories. The syntax is exactly the same as Apache’s other configuration files. The file is placed in the directories where the web pages are served, to give finer-grained controls than the system-wide configuration file, httpd.conf.

Advertisements

Techopedia Explains .htaccess

The .htaccess is a plain text configuration file for the Apache HTTP Server that allows administrators to specify options for directories where web content is served. The initial “.” in .htaccess means that the file will be invisible on Unix-like systems in directory listings except with the “ls -a” command. The syntax for the file is exactly the same as the system-wide httpd.conf configuration file. The .htaccess file is placed in the directory where the administrator wants to override Apache’s settings.

The Apache Foundation recommends against using .htaccess when a user has access to the system-wide file as using it can slow down the web server.

Advertisements

Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…