# HG changeset patch # User Dirk Olmes # Date 1375754795 -7200 # Node ID 3b69622879c988ebb4a331ab1baf207b775d70fa # Parent 7bfdc2b1d76806706b8d785fc848dd73251111a6 do not allow access to the generated captcha DB via the web server diff -r 7bfdc2b1d768 -r 3b69622879c9 Makefile --- a/Makefile Tue Aug 06 04:06:16 2013 +0200 +++ b/Makefile Tue Aug 06 04:06:35 2013 +0200 @@ -62,6 +62,7 @@ publish: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) + cp $(INPUTDIR)/.htaccess $(OUTPUTDIR) ssh_upload: publish scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) diff -r 7bfdc2b1d768 -r 3b69622879c9 content/.htaccess --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/content/.htaccess Tue Aug 06 04:06:35 2013 +0200 @@ -0,0 +1,4 @@ + + Order allow,deny + Deny from all +