Parent Directory | Revision Log
apache: add option to select default redirect URL Add an option to change the URL to redirect to in case of unknown vhost. If the option is not provided, a 404 error is returned.
1 | # $httpdlogs_rotate: |
2 | # number of time the log file are rotated before being removed |
3 | # $default_vhost_redirect: |
4 | # URL to redirect to in case of unknown vhost |
5 | class apache::var( |
6 | $httpdlogs_rotate = '24', |
7 | $apache_user = 'apache', |
8 | $apache_group = 'apache', |
9 | $default_vhost_redirect = '' |
10 | ) { |
11 | if ($::lsbdistrelease == '1') or ($::lsbdistid == 'MandrivaLinux') { |
12 | $pkg_conf = 'apache-conf' |
13 | } else { |
14 | $pkg_conf = 'apache' |
15 | } |
16 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |