Parent Directory | Revision Log
Attempt to support alias in catalyst_app
1 | define apache::vhost::catalyst_app( $script, |
2 | $location = '', |
3 | $process = 4, |
4 | $use_ssl = false, |
5 | $aliases = {}, |
6 | $vhost = false) { |
7 | include apache::mod::fastcgi |
8 | if $location { |
9 | $aliases = merge($aliases, {'/static'] => "$location/root/static"}) |
10 | } |
11 | |
12 | $aliases = merge($aliases, {'/' => $script}) |
13 | |
14 | apache::vhost::base { $name: |
15 | vhost => $vhost, |
16 | use_ssl => $use_ssl, |
17 | content => template('apache/vhost_catalyst_app.conf'), |
18 | aliases => $aliases, |
19 | } |
20 | } |
21 | |
22 |
ViewVC Help | |
Powered by ViewVC 1.1.30 |