fix Apache 2.4 compatibility

This commit is contained in:
Neil 2016-01-11 13:18:26 +08:00
parent 5b11958279
commit ad5d2a685d

5
le.sh
View File

@ -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 Require all granted
Allow from all
</Directory> </Directory>
" >> $httpdconf " >> $httpdconf