pupupu

simple static CMS for crappy servers
git clone https://git.ce9e.org/pupupu.git

commit
272053a3b27a975dccdb0d7af185e19538dfc20a
parent
b2f44bb2e184a0b6bf85cb1aa1c1181fb5039031
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-10-20 22:30
block access to subdirs

Diffstat

A .htaccess 9 +++++++++
M Makefile 2 +-
A templates/.htaccess 1 +
A themes/.htaccess 1 +
A vendor/.htaccess 1 +

5 files changed, 13 insertions, 1 deletions


diff --git a/.htaccess b/.htaccess

@@ -0,0 +1,9 @@
   -1     1 <FilesMatch "\.(htaccess|htpasswd|php)$">
   -1     2     Order Allow,Deny
   -1     3     Deny from all
   -1     4 </FilesMatch>
   -1     5 
   -1     6 <FilesMatch "index\.php$">
   -1     7     Order Allow,Deny
   -1     8     Allow from all
   -1     9 </FilesMatch>

diff --git a/Makefile b/Makefile

@@ -12,4 +12,4 @@ node_modules:
   12    12 
   13    13 .PHONY: pupupu.zip
   14    14 pupupu.zip:
   15    -1 	cd .. && zip -r -FS pupupu/$@ pupupu/index.php pupupu/README.md pupupu/static/ pupupu/templates/ pupupu/themes/ pupupu/vendor/ pupupu/node_modules/font-awesome/css/ pupupu/node_modules/font-awesome/fonts/ pupupu/node_modules/simplemde/dist/
   -1    15 	cd .. && zip -r -FS pupupu/$@ pupupu/index.php pupupu/README.md pupupu/.htaccess pupupu/static/ pupupu/templates/ pupupu/themes/ pupupu/vendor/ pupupu/node_modules/font-awesome/css/ pupupu/node_modules/font-awesome/fonts/ pupupu/node_modules/simplemde/dist/

diff --git a/templates/.htaccess b/templates/.htaccess

@@ -0,0 +1 @@
   -1     1 Deny from all

diff --git a/themes/.htaccess b/themes/.htaccess

@@ -0,0 +1 @@
   -1     1 Deny from all

diff --git a/vendor/.htaccess b/vendor/.htaccess

@@ -0,0 +1 @@
   -1     1 Deny from all