Commit ad5d2a68 authored by Neil's avatar Neil
Browse files

fix Apache 2.4 compatibility

parent 5b119582
#!/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() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment