35 pts.
 .htaccess file name
This may sound dumb but could someone give me the correct name (file name) of an .htaccess file to put in my root directory?  Would it be any name.htaccess ?  This may be obviously simple

Software/Hardware used:
HTML editor
ASKED: May 19, 2011  10:04 PM
UPDATED: May 23, 2011  11:20 AM

Answer Wiki:
The name must be ".htaccess", this way the file appears hidden (in unix the files that begins with dot "." are hidden). Apache httpd server if looking for .htaccess file names in every directory it uses.
Last Wiki Answer Submitted:  May 19, 2011  10:40 pm  by  Mariodlg   2,790 pts.
All Answer Wiki Contributors:  Mariodlg   2,790 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

What Mariodlg says is correct. I have to agree.leave it alone. the name is correct.

 1,940 pts.

 

I don’t know what happened but I was not done and it took what I said and posted. Here’s a bit more information.
Your (dot) .htAccess file is basically a control file for the Internet used by Unix there is a more global (large duties) file called httpd.cons file used for larger environments and your .htaccess file is like a more local control file there specifically to help control how web viewers are routed or bounced etc… when visited . Example if you have a secure site your web address would probably start with https://www.yourwebsite but other people might not know to put the s at the end of http so your .htaccess could re-direct them so that when they type http://www they go to https://www. Hope this helps.

 1,940 pts.

 

You can say there is no name of .htaccess file, it has only the file extension .htaccess.

How to create .htaccess file

Create a txt file and rename it as .htaccess and remove .txt

 975 pts.