h5ai
h5ai copied to clipboard
How can I exclude folders from being managed by h5ai?
I have folders /foo/ and /bar/.
Folder /foo/ contains /_h5ai/ folder and the /bar/ folder.
How can I exclude /bar/ from being managed by h5ai? The /bar/ folder contains multiple folders with multiple .php files with different names, so I can't add them to unmanaged with just the .php filenames. Is there a way I can add specific folders to unmanaged?
My problem is that when I go to /bar/foobar/ folder, it displays the .php files via h5ai, and I don't want that.
It would be nice if it was an option.
The way I've done it is (apache2) is create a new
<Directory /foo/bar/> Options Indexes FollowSymLinks AllowOverride None DirectoryIndex index.html index.php #/_h5ai/public/index.php </Directory>
~~Or exclude some types of file.~~
nvm, found it here https://github.com/lrsjng/h5ai/blob/master/src/_h5ai/private/conf/options.json#L68
if you dont want them to be accessible at all, change the permissions so only certain users/groups should be able to list them
On Fri, Apr 30, 2021 at 2:25 AM Norimaki @.***> wrote:
Or exclude some types of files.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lrsjng/h5ai/issues/708#issuecomment-829871387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYY3EVGDRRMICFG5BPTHXDTLJEPHANCNFSM4HVTIPIQ .
@hirez0 this is a nice hint... i will try this too.. thank you