diff --git a/bin/_commands/choice.sh b/bin/_commands/choice.sh
index 96227b3..3a2df95 100755
--- a/bin/_commands/choice.sh
+++ b/bin/_commands/choice.sh
@@ -25,7 +25,7 @@ choose() {
chgrp -R www-data "../content/users/$user${target%/*}/"
# Delete former result files
- rm "$dir/*.result"
+ rm "$dir"/*.result
# Generate a result file
echo "$target" > "$dir/$page.result"
diff --git a/bin/acoeur.conf b/bin/acoeur.conf
index bd003f7..520b74a 100644
--- a/bin/acoeur.conf
+++ b/bin/acoeur.conf
@@ -1,12 +1,16 @@
+ServerSignature Off
+
ServerName acoeur
+ Protocols h2 h2c http/1.1
DocumentRoot /var/simpleWeb/apps/acoeur/public
ServerName edit.acoeur
- ServerSignature Off
+ Protocols h2 h2c http/1.1
+
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Methods "HEAD, GET, POST, PUT, OPTIONS, DELETE"
Header add Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, API-Key, Authorization, X-Test"