Forum Moderators: phranque
I want to create a subdirectory in my document root:
wwww.example.com/docs/
For access via HTTP (say a web browser), I want to have an authenticated fancy directory listing of files in the directory including headers and footers. This involves the use of an htaccess and relevant files for header and footer, etc.
For FTP access (also authenticated), I don't want the htaccess file (or headers/footer files) to be visible so that FTP users cannot view/modify it.
Any clue?
Check out the documentation for your FTP daemon too, for example if you are using xsftpd, see the
deny_file option in the vsftpd man page [vsftpd.beasts.org]. You would need to be able to configure ftpd though (not a shared server).