The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ftp question

Discussion in 'General Discussion' started by elastic, Oct 14, 2004.

  1. elastic

    elastic Registered

    Joined:
    Oct 13, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    how do you make it so users can't view file directories when they type in "ftp://mydomain.com"? i unchecked Allow anonymous access in the Anonymous FTP Controls of cPanel, but the directories are still showing up to anonymous users. any ideas?
     
  2. volume

    volume Member

    Joined:
    Mar 7, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    In short turn off the indexing. Create a .htaccess file with the following properties:

    Options All -Indexes

    That should do it :)

    Cheers,

    volume
     
Loading...

Share This Page