[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] My .htaccess files are hidden.



> At 11:01 AM 9/23/00 -0400, you wrote:
>> Could someone tell me how to make my .htaccess files visible.
>> 
>> I ftp the htaccess file to my server but when i change the name to
>> .htaccess it disappears "becomes hidden".
>
> This is the way it is, mainly for security reasons, you wouldn't want hack
> happy users to gain access. You need to Telnet to your dir to delete or use
> VI or Vim to view and edit on-line. The file will still be hidden from
> view, but it will be there as long as you're in the right directory :-)

That is the biggest load of crap I have ever heard.  It isn't for security
reasons at all.  It is because . files are for configuration files and are
not normally wanted to be seen when doing a directory listing.

On my home directory I have in excess of 60 . files, none of which I usually
want to see.  And it I want to see them I just use the -a switch on ls.

And if you want to see, edit, or download a file that starts with a period
you need to get a better FTP client.  The file is there.  There is nothing
that is preventing you from downloading, uploading, or doing whatever to it.
Many FTP clients don't show the files by default, and many have an option
you can set.  If your FTP client can do neither, I would suggest canning it
and getting a real FTP client--I suggest ncFTP.

-k