1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-29 23:22:34 +01:00

Prevented potential apache image dir listing

Closes #1545
This commit is contained in:
Dan Brown 2019-08-06 20:33:51 +01:00
parent c732970f6e
commit 4de719b325
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
<IfModule mod_negotiation.c> <IfModule mod_negotiation.c>
Options -MultiViews Options -MultiViews -Indexes
</IfModule> </IfModule>
RewriteEngine On RewriteEngine On

View File

@ -1,2 +1,3 @@
* *
!.gitignore !.gitignore
!.htaccess

1
public/uploads/.htaccess Executable file
View File

@ -0,0 +1 @@
Options -Indexes