HT: Difference between revisions

131 bytes added ,  15 May 2008
Hmmm.. .htaccess is a HTTPd?
(Hmmm.. .htaccess is a HTTPd?)
Line 4: Line 4:


==What is a .htaccess file?==
==What is a .htaccess file?==
It is a HTTPd (Hypertext Transfer Protocol daemon) that provides the governing rules of how a web server should be ran/behave. It is the sub-conf script to the httpd.conf file in Apache.
It is Apache's directory-level configuration file (as opposed to httpd.conf, which is the main server configuration file) that provides the governing rules of how a web server should be ran/behave. When it is placed in a particular directory, the rules in it apply to that directory and all the subdirectories thereof.


Here is a [http://www.javascriptkit.com/howto/htaccess.shtml good tutorial] to the use and configuration of the .htaccess file.
Here is a [http://www.javascriptkit.com/howto/htaccess.shtml good tutorial] to the use and configuration of the .htaccess file.


==What is a .htpasswd file?==
==What is a .htpasswd file?==
The .htpasswd file is a file used to store usernames and passwords for protected areas of a website that uses the .htaccess Protection.
The .htpasswd file is a file used to store usernames and passwords for protected areas of a website that use the .htaccess Protection.


==Usage and Commands==
==Usage and Commands==
Anonymous user