projects
/
drupal-init-tools.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9359efb
)
new.sh: fix .htaccess to allow access to "/web" without the trailing slash
author
Antonio Ospite <ao2@ao2.it>
Tue, 21 Nov 2017 10:00:08 +0000
(11:00 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Tue, 21 Nov 2017 10:00:08 +0000
(11:00 +0100)
libexec/new.sh
patch
|
blob
|
history
diff --git
a/libexec/new.sh
b/libexec/new.sh
index
385c141
..
a73b894
100755
(executable)
--- a/
libexec/new.sh
+++ b/
libexec/new.sh
@@
-120,7
+120,7
@@
echo "Uncomment and customize the values in the bootstrap.conf file."
# Add some basic access control to protect sensitive files like bootstrap.conf
cat > .htaccess <<EOF
Options -Indexes
-SetEnvIf Request_URI "/web
/.*
" access_granted
+SetEnvIf Request_URI "/web
(/.*)?$
" access_granted
Order allow,deny
Allow from env=access_granted
EOF