| | wut is htacess and wut is it used for? |
|
|
|
QUOTE(wannabeeaweak @ Sep 25 2004, 04:57 AM) the if a .htaccess file is in webserver directory, then that directory is protected by a password. its basically used to construct members only areas. im pretty sure this question has already been answered here. QUOTE(qwijibow @ Sep 26 2004, 02:26 AM) the if a .htaccess file is in webserver directory, then that directory is protected by a password. its basically used to construct members only areas. It's not only for password protecting. .htaccess is used for many things like determining which page is loaded on an error (like the everyone's favourite 404 document not found QUOTE(wannabeeaweak @ Sep 24 2004, 11:57 PM) Basicly its as eveybody stated before, its an intergrated user system within Apache Web Server... And i find it very helpful (it also answers your question) QUOTE What is the .htaccess file? Specifically, it a simple ASCII text file. How do you create an .htaccess file? You can use a regular text editor such as Notepad or Simpletext. Where is the .htaccess file stored/saved? It is stored in your main site directory and/or in any subdirectory. What does the .htaccess file do? That is what the following pages will cover. There are some main uses such as personalized error pages, password protection and redirects. It does all that and more. Do all hosts support/allow this file? VERY IMPORTANT : check with your host if they allow this file to be used by you AND if they pose any restrictions on its use. This is also important to know before reading all of the following pages. It'd be a waste of time doing all that learning for nothing. This file is works on an Unix/Apache based host, not Windows/NT. Any other thoughts before heading into htaccess learning? Keep a backup of the original file in case of problems. Individual commands in the htaccess file are meant to be on one line only. Be sure that text editor has word wrap turned off.
.htaccess files are used to password protect websites, redirect websites, use for custome error pages and so forth
info off memory there could be mroe stuff usefull with htaccess
You can also keep other sites from hotlinking your pictures using the .htaccess file.
yes .htaccess is used by you cpanel hotlinking service, you are also able to buffer,
denying ips password directorys for your site. redirect enable SSI preventing a directory being listed, adding mime types error documents and much more You can also use a function to prevent your .htacces from being viewed. .htaccess pretty much manages the inflows of users to yoursite and uses all the above functions and more. If you want to learn more about the above functions you can visit http://wsabstract.com/howto/htaccess.shtml for a tutorial or use your cpanel features (which do all the above) if yuo can't be bothered learning about the functions or have limited knowledge (eg Hotlinking, leech protect, redirect manager..and more...) |
|
![]() wut is htacess? |