Kunskapsbas

Hitta artiklar om funktioner och felsökningsguider,
och andra tekniska information om Hostingers webbhotelltjänst.

How to setup Directory Listing

Redigerat:
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

  • Lättanvänt Website Builder
  • 99.9% driftsäkerhet
  • 24/7 Live-support
  • Powerful Control Panel
  • 30 dagars öppet köp
Specialerbjudande!
Från
kr
9
00
/mån
Spara 90%
Kom igång