How do I disable the file viewer

I would like to disable the built-in file viewer from the website for it to use the browser one instead. How do I do that?

What “file viewer” do you mean?

How files are displayed is always done by the browser. Unless you have installed software that generates custom output of course.

Directory Listing on the other hand is done by the server, not the browser. Our directory listing looks a bit different from the standard Apache/NGINX designs you usually see, but that’s not something you can customize.

If you care about how the directory listing looks, you could use/write a PHP script to list the files in the directory and display them.

You can type this in your htaccess to disable directory listing:

Options -Indexes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.