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 | boklm | 2916 | # $httpdlogs_rotate: |
2 | # number of time the log file are rotated before being removed | ||
3 | boklm | 3184 | # $default_vhost_redirect: |
4 | # URL to redirect to in case of unknown vhost | ||
5 | boklm | 2916 | class apache::var( |
6 | $httpdlogs_rotate = '24', | ||
7 | $apache_user = 'apache', | ||
8 | boklm | 3184 | $apache_group = 'apache', |
9 | $default_vhost_redirect = '' | ||
10 | boklm | 2917 | ) { |
11 | boklm | 2939 | if ($::lsbdistrelease == '1') or ($::lsbdistid == 'MandrivaLinux') { |
12 | boklm | 2917 | $pkg_conf = 'apache-conf' |
13 | } else { | ||
14 | $pkg_conf = 'apache' | ||
15 | } | ||
16 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |