我的 documentroot 是一个符号链接。当 puppet 代理运行时,符号链接被删除。有任何想法吗?
我的代码:
'qsu.mydomain.de:443':
ssl: true
port: 443
ssl_key: '/etc/apache2/ssl/qsu.mydomain2.de.key'
ssl_cert: '/etc/apache2/ssl//qsu.mydomain2.de.crt'
ssl_cipher: 'HIGH:MEDIUM:!aNULL:!MD5:!RC4:!3DES'
ssl_protocol: 'all -SSLv2 -SSLv3'
priority: '25'
serveradmin: '[email protected]'
servername: 'qsu.mydomain.de'
serveraliases:
- 'mydomain.de'
manage_docroot: false
docroot: '/var/www/mydomain2-web-usr/htdocs'
directoryindex: 'index.html index.htm index.php'
error_log_file: 'qsu.mydomain2.de_ssl_error.log'
access_log_file: 'qsu.mydomain2.de_ssl_access.log'
suexec_user_group: 'mydomain2-web-usr mydomain2-web-usr'
aliases:
- scriptalias: /cgi-bin/
path: /var/www/mydomain2-web-usr/cgi-bin/
setenv:
- 'TYPO3_CONTEXT Production'
directories:
- path: '/var/www/mydomain2-web-usr/htdocs'
allow_override: ['all']
order: 'Allow,Deny'
options: ['+FollowSymLinks', '-Indexes']
custom_fragment: |
<Files ~ (\\.php)>
SetHandler fcgid-script
FCGIWrapper /var/www/.conf/fcgid/mydomain2-web-usr/fcgid .php
Options +ExecCGI
allow from all
</Files>