Ponuka s obmedzeným časom - od €0,99/mesiac
00
DAYS
20
HOURS
01
MINUTES
21
SECONDS
Začnite
×

Znalostní báze

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

How to setup Directory Listing

Modified on:
directory listing listing list of files htaccess

When a web browser is pointed to a directory on your website which does not have an index.html file in it, the files in that directory can be listed on a web page. To have the web server produce a list of files for such directories, use the below line in your .htaccess  (can be found in FTP -> public_html folder):

Options +Indexes

To have an error (403 - Forbidden) returned instead, use this line:

Options -Indexes

  • Snadný Website Builder
  • 99.9% Záruka Uptime
  • Podpora 24/7 Live
  • Powerful Control Panel
  • 30-dňové záruka vrátenia peňazí
Limited Time Special Offer!
Od
0
99
/měs
Uložte 90%
Začnite