How do i show a directory?

I have an arch mirror at, how do show the directories and files ??

Hi @niranjan,

Are you using Nginx or Nginx+Apache?

1 Like

Hello @sahsanu , I’m using Nginx+Apache!

Then you only need to create a .htaccess file in the dir with the content Options +Indexes

Example with user niranjan and domain

echo 'Options +Indexes' >> /home/niranjan/web/
1 Like

thanks for the replay! I’ll give this a shot and get back to you!

Hey, this did it.

What do you think should be the proper permissions for the public_html folder and its contents?

It will depend on the owner and group but if the owner and group is niranjan then 755 for directories and 644 for files. If the owner is niranjan and the group www-data, then 750 for directories and 640 for files.

1 Like


You’ve been of great help!


Hey @sahsanu , the .htacess file is getting removed automatically!

Hestia doesn’t create/remove/modify .htaccess files so another process is removing it.

1 Like