[BlueOnyx:25065] Re: dir listing of subfolders in a website
Michael Stauber
mstauber at blueonyx.it
Tue Aug 17 13:33:55 -05 2021
Hi Meaulnes,
> On the old BlueOnyx and RaQs, if one had a subdir without an index file,
> browsing there gave a listing of the files in that subdir, like in the
> example below. There was also a trick how to tamper this, maybe with an
> .htaccess file.
Go to "Server Management" / "Network Services" / "Web" and check the
settings under "Options" and tick the checkbox "Indexes".
That will turn on directory listings if there is no index.html or
index.php in a web directory.
Of if you don't want to turn it on globally, but just for a single
directory, then make sure that .htaccess files can use 'Options' and add
this in a .htaccess file in the directory where you want to allow
directory listing:
Options +Indexes
That should do the trick.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list