Enable Directory Listing

Support Wissensdatenbank

Du bist hier:
Print

Enable Directory Listing

By default, the server is set so that it does not list the folder contents if a start page is missing, for security reasons. Follow these instructions to list the folder contents anyway.

 

  1. Create an .htaccess file in the desired folder with the following content:

    .htaccess

    Options +Indexes

     

  2. Open settings for Apache & nginx
  3. As an alternative to the .htaccess file, you can also enter the following in the HTTP and HTTPS instructions:
    <Location /unterordner/>
        Options +Indexes
    </Location>

    Tip: If you want to activate the directory listing for all subfolders, change the value from <location /subfolder/> to <location />.

    Make sure that you have activated the proxy mode. As in the screenshot:

  4. Now open the PHP settings according to the following picture:
  5. Now activate FPM applications served by Apache:
  6. Now wait 1 minute and open your folder again. The files are now listed:
War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Brauchst du Hilfe?
Related Post