Question: How do I disable directory listings for a domain?

  1. Create a htaccess.txt file
  2. Type Options -Indexes
  3. Upload the file via ftp to the document root for the domain.
  4. Rename the file to .htaccess

This can also be creating the .htaccess file in the document root for the domain via SSH.


CategoryHtmlProgramming