Does Control Panel create .htaccess?

Does Control Panel create .htaccess?

Posted by: brec
Posted on: 2006-05-09 21:51:00

I have password-protected a couple of directories via the Control Panel's Goodies::htaccess/WebDAV facility. But my FTP client doesn't list any .htaccess files. I'm just curious as to whether some other protection scheme is being used.

Re: Does Control Panel create .htaccess?

Posted by: snokarver
Posted on: 2006-05-09 22:03:00

It does use .htaccess. In order to view them, you have to use SFTP or SSH.

Re: Does Control Panel create .htaccess?

Posted by: gamerhk
Posted on: 2006-05-10 01:03:00

u dun...
in ftp..
add a filter to ur "ls" command
"ls -La"
most ftp client should support this

Re: Does Control Panel create .htaccess?

Posted by: sdayman
Posted on: 2006-05-10 06:23:00

Your FTP client's probably not showing hidden files. See if there's a Preference to Show All/Hidden Files.

-Scott

Re: Does Control Panel create .htaccess?

Posted by: brec
Posted on: 2006-05-10 09:33:00

Eh? Why would that be so? How would the dir "know" that the FTP command is arriving via SSH rather than via an FTP client?

Re: Does Control Panel create .htaccess?

Posted by: brec
Posted on: 2006-05-10 09:50:00

Ah, I found the way to add -a to server-side filtering. (I'm using CuteFTP Pro.) Now all is well.

Thanks everyone.

Re: Does Control Panel create .htaccess?

Posted by: snokarver
Posted on: 2006-05-10 09:58:00

Not sure. That's what I do to make it work. The list -a works too.

Tags: htaccess filescontrol panelftp clientpassword protectedwebdavgoodiesdirectories