blob: 42572c8d8065c7311c4c7438f1f0f8fc1f6b8b34 [file] [log] [blame]
---
classes:
- apache
- apache::mod::expires
- apache::mod::mime
- apache::mod::php
- apache::mod::rewrite
- kif
- loggy
- blocky
- memcached
- ooo_mwiki
- ssl::name::wildcard_openoffice_org
- vhosts_asf::vhosts
- rsync_asf
rsync_asf::cron_hour: 18
rsync_asf::cron_minute: 55
rsync_asf::fslist:
- /x1
- /home
apache::keepalive: 'On'
apache::keepalive_timeout: '15'
apache::timeout: 600
apache::mpm_module: 'prefork'
apache::mod::prefork::maxrequestworkers: '120'
apache::mod::prefork::startservers: '10'
logrotate::rule:
apache2:
ensure: 'present'
memcached::max_memory: '10%'
memcached::listen_ip: '127.0.0.1'
memcached::tcp_port: '11211'
# ooo_mwiki class variables.
ooo_mwiki::mwiki_version: '1.29.1'
ooo_mwiki::parent_dir: '/x1'
logrotate::rule:
apache2:
ensure: 'present'
vhosts_asf::vhosts::vhosts:
ooo-mwiki3-80:
vhost_name: '*'
priority: '12'
servername: 'ooo-wiki3-vm.apache.org'
serveraliases:
- 'wiki.openoffice.org'
port: 80
ssl: false
docroot: '/var/www'
error_log_file: 'ooo_mwiki_error.log'
custom_fragment: |
RedirectMatch permanent ^/(.*)$ https://wiki.openoffice.org/$1
ooo-mwiki3-443:
vhost_name: '*'
default_vhost: true
servername: 'ooo-wiki3-vm.apache.org'
serveraliases:
- 'wiki.openoffice.org'
port: 443
docroot: '/x1/mwiki'
manage_docroot: false
error_log_file: 'ooo_mwiki_error.log'
ssl: true
ssl_cert: '/etc/ssl/certs/wildcard.openoffice.org.crt'
ssl_chain: '/etc/ssl/certs/wildcard.openoffice.org.chain'
ssl_key: '/etc/ssl/private/wildcard.openoffice.org.key'
custom_fragment: |
Alias /htdocs /x1/mwiki/
Alias /w /x1/mwiki/
Alias /mwiki /x1/mwiki/
Alias /wiki /x1/mwiki/index.php
Alias /index.php /x1/mwiki/index.php
<Directory "/x1/mwiki">
Options -Indexes +MultiViews +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ExpiresActive On
ExpiresByType image/x-icon "access plus 1 month"
</Directory>
<DirectoryMatch "/x1/mwiki/(skins|images|ASFLogo)">
ExpiresActive On
ExpiresDefault "access plus 1 month"
</DirectoryMatch>