Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My host provider uses a LAMP stack...Whenever i log in via an online ftp site...I keep seeing this file

.htaccess

It is empty.

Do I need it? What is it for?

I just deleted it b.c. it was empty...I have a feeling it will come back. How do I keep it from coming back?

share|improve this question

migrated from superuser.com Sep 10 '12 at 3:57

This question came from our site for computer enthusiasts and power users.

    
It is a configuration file on a per-directory basis - httpd.apache.org/docs/2.2/howto/htaccess.html –  Hiro Protagonist Sep 9 '12 at 19:23
    
en.wikipedia.org/wiki/Htaccess –  techie007 Sep 9 '12 at 19:24
add comment

1 Answer 1

That file is used by some web servers to protect webpages.

It should show up in your web servers manual page.

Alternatively, google for it. The first nine (9 out of 10) hits on the search term .htaccess all give that that information. It is almost impossible to miss.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.