Browse Source

fix Apache 2.4 compatibility

pull/26/head
Neil 9 years ago
parent
commit
ad5d2a685d
  1. 5
      le.sh

5
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

Loading…
Cancel
Save