visible .htacess on FTP

Discussion in 'Installation/Configuration' started by SupuS, Jul 5, 2006.

  1. SupuS

    SupuS Member HowtoForge Supporter

    Hi all

    Is it possible to set ispconfig or proftp to show .htaccess files? If customer want edit .htaccess file he cannot see it on FTP .. :(

  2. DerLobo

    DerLobo New Member


    yes it is!
    This is very easy.
    But you have to think about, that there are many dot files, like mail configuration and so on.
    If you enable the dot file, then you run in trouble if a user change the wrong files.

    I would not reccoment this, if you have a system where other users have webspace.

    You have to edit your proftpd.conf and find:

    LsDefaultOptions =
    change this to:
    LsDefaultOptions "-LA"

    After restart your proftpd and you should see the dot files.
  3. SupuS

    SupuS Member HowtoForge Supporter

    Thanks for replay .. I know about dot files and that is why I asked for this .. Setting up proftp to show all dot files is easy .. but is it possible to show .htaccess only?
  4. falko

    falko Super Moderator ISPConfig Developer

    I don't think so, but you can have a look at
    man ls
    to see what can be done.

Share This Page