blob: 1ce40747a805842edcc8fade8ffed1bdaf427044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
define apache::vhost::catalyst_app( $script,
$location = '',
$process = 4,
$use_ssl = false,
$aliases = {},
$vhost = false) {
include apache::mod::fcgid
if ($location) {
$aliases['/static'] = "${location}/root/static"
}
$script_aliases = {
'/' => "$script/",
}
apache::vhost::base { $name:
vhost => $vhost,
use_ssl => $use_ssl,
content => template('apache/vhost_fcgid.conf'),
aliases => $aliases,
}
}
|