.htaccess file name

35 pts.
Tags:
.htaccess
HTML
HTML editor
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TheFinder
    What Mariodlg says is correct. I have to agree.leave it alone. the name is correct.
    1,940 pointsBadges:
    report
  • TheFinder
    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 pointsBadges:
    report
  • stephenlembert
    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
    1,120 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following