Skip to main content

How do I display directories correctly?

Comments

2 comments

  • cPanelMichael
    Hello :) You can modify the default DirectyIndex value by placing a line in the .htaccess file of the directory you want to modify it for. EX: DirectoryIndex help.html index.html index.php
    The above example would ensure that the "help.html" file will load when the directory is accessed. Thank you.
    0
  • rijo.a
    You can remove the index.html from the directory if you want to list the directory contents for the public.
    0

Please sign in to leave a comment.