lib/Provision/Unix/Web.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 27 | 7.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
193 | 0 | 0 | 0 | $dir and -d $dir |
line | l | !l | condition |
---|---|---|---|
136 | 0 | 2 | $$prov{'config'}{'Web'}{'vdoc_root'} || '/home' |
137 | 0 | 2 | $$prov{'config'}{'Web'}{'vdoc_suffix'} || 'html' |
156 | 0 | 0 | $$prov{'config'}{'Web'}{'sslcerts'} || '/usr/local/etc/apache2/certs' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
121 | 0 | 0 | 0 | $$vals{'vhost'} ||= $util->ask('vhost name') |
128 | 0 | 0 | 0 | $$vals{'ip'} ||= $util->ask('ip', 'default', '*:80') |
129 | 0 | 0 | 0 | $$vals{'serveralias'} ||= $util->ask('serveralias', 'default', "www.$vhost") |
152 | 0 | 0 | 0 | $$vals{'ssl'} ||= $util->ask('ssl') |
160 | 0 | 0 | 0 | $$vals{'sslcert'} ||= $util->ask('sslcert', 'default', "$certs/$vhost.crt") |
163 | 0 | 0 | 0 | $$vals{'sslkey'} ||= $util->ask('sslkey', 'default', "$certs/$vhost.key") |