Browse Source

fix Apache 2.4 compatibility

Neil 9 years ago
parent
commit
ad5d2a685d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      le.sh

+ 2 - 3
le.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
 #!/bin/bash
-VER=1.0.2
+VER=1.0.3
 PROJECT="https://github.com/Neilpang/le"
 PROJECT="https://github.com/Neilpang/le"
 
 
 DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
 DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
@@ -319,8 +319,7 @@ _setApache() {
 Alias /.well-known/acme-challenge  $ACME_DIR
 Alias /.well-known/acme-challenge  $ACME_DIR
 
 
 <Directory $ACME_DIR >
 <Directory $ACME_DIR >
-Order allow,deny
-Allow from all
+Require all granted
 </Directory>
 </Directory>
   " >> $httpdconf
   " >> $httpdconf