devshort

private self-hosted shortlink service
git clone https://git.clttr.info/devshort.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 7017151037a35d2e0420bf6ed103ef7b60d59ac1
parent 991f99f89ab08be1866ee34caa763f05af138014
Author: Florian <flokX@users.noreply.github.com>
Date:   Thu, 31 Jan 2019 17:01:50 +0100

Create .htaccess
Diffstat:
Aadmin/.htaccess | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/admin/.htaccess b/admin/.htaccess @@ -0,0 +1,17 @@ +# Lock the whole directory until the installer runned + +# By Nextcloud +<ifModule mod_authz_core.c> + Require all denied +</ifModule> + +# line below if for Apache 2.2 +<ifModule !mod_authz_core.c> + deny from all + Satisfy All +</ifModule> + +# section for Apache 2.2 and 2.4 +<ifModule mod_autoindex.c> + IndexIgnore * +</ifModule>