Merge pull request #231 from ze42/directory_default

vhosts/standard: Directory_default to DocumentRoot
This commit is contained in:
N 2018-08-29 11:44:17 +01:00 committed by GitHub
commit 8adcad3db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
'Timeout': site.get('Timeout'),
'LimitRequestFields': site.get('LimitRequestFields'),
'Directory_default': '{0}/{1}'.format(map.wwwdir, sitename),
'Directory_default': site.get('DocumentRoot', '{0}/{1}'.format(map.wwwdir, sitename)),
'Directory': {
'Options': '-Indexes +FollowSymLinks',
'Order': 'allow,deny',

View File

@ -84,7 +84,7 @@ apache:
SSLCertificateChainFile: /etc/ssl/mycert.chain.pem # if you require a chain of server certificates file
Directory:
# "default" is a special case; Adds ``/path/to/www/dir/example.com``
# "default" is a special case; uses DocumentRoot value
# E.g.: /var/www/example.com
default:
Options: -Indexes +FollowSymLinks