Result removal functionnal
This commit is contained in:
parent
a53df295f9
commit
0eb85713ce
@ -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"
|
||||
|
@ -1,12 +1,16 @@
|
||||
ServerSignature Off
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName acoeur
|
||||
Protocols h2 h2c http/1.1
|
||||
|
||||
DocumentRoot /var/simpleWeb/apps/acoeur/public
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:80>
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user