Geek Stuff
| When will 'webmasters' learn what the .htaccess file is for? |
|
|
|
| Written by Frank Emmons |
| Friday, 31 July 2009 12:06 |
|
I called him back asking him to send me a copy of his .htaccess file to look over. His response 'My H-T What?!?!'. Oh brother. He could have avoided having his sites internals laid naked before the web browsing and Google snooping world easily by doing the following. Create a default index.html in every directory of his website. Make sure a .htaccess file is present .. if not create it. Add the following two lines to the .htaccess file: DirectoryIndex index.html What else could have done? I don't know ... maybe RTFM!
|
| Last Updated on Friday, 31 July 2009 12:41 |