blob: 259808e75165862a005ae7d5e2c8e089625d55d0 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
#
# Mod_perl incorporates a Perl interpreter into the Apache web server,
# so that the Apache web server can directly execute Perl code.
# Mod_perl links the Perl runtime library into the Apache web server
# and provides an object-oriented Perl interface for Apache's C
# language API. The end result is a quicker CGI script turnaround
# process, since no external Perl interpreter has to be started.
#
LoadModule perl_module [FORTITUDE_LIB_DIR]/modules/mod_perl.so
# Uncomment this line to globally enable warnings, which will be
# written to the server's error log. Warnings should be enabled
# during the development process, but should be disabled on a
# production server as they affect performance.
#
#PerlWarn On
# Uncomment this line to enable taint checking globally. When Perl is
# running in taint mode various checks are performed to reduce the
# risk of insecure data being passed to a subshell or being used to
# modify the filesystem. Unfortunatly many Perl modules are not
# taint-safe, so you should exercise care before enabling it on a
# production server.
#
#PerlTaintCheck On
# This will allow execution of mod_perl to compile your scripts to
# subroutines which it will execute directly, avoiding the costly
# compile process for most requests.
#
#Alias /perl /var/www/perl
#<Directory /var/www/perl>
# SetHandler perl-script
# PerlResponseHandler ModPerl::Registry
# PerlOptions +ParseHeaders
# Options +ExecCGI
#</Directory>
# This will allow remote server configuration reports, with the URL of
# http://servername/perl-status
# Change the ".your-domain.com" to match your domain to enable.
#
#PerlModule Apache::compat
#<Location /perl-status>
# SetHandler perl-script
# PerlResponseHandler Apache::Status
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Location>
PerlModule ModPerl::Registry
PerlModule [FORTITUDE_APACHE]::compat
PerlModule PKI::RA::wizard
PerlSetEnv PKI_DOCROOT [PKI_INSTANCE_PATH]/docroot
PerlSetEnv PKI_ROOT [PKI_INSTANCE_PATH]
<Location /ra/admin/console/config/wizard>
SetHandler perl-script
PerlHandler PKI::RA::Wizard
Require all granted
</Location>
<Location /ra/admin/console/config/login>
SetHandler perl-script
PerlHandler PKI::RA::Login
Require all granted
</Location>
PerlModule ModPerl::PerlRun
Alias /ee/ [PKI_INSTANCE_PATH]/docroot/ee/
<Location /ee/ >
SetHandler perl-script
PerlHandler ModPerl::PerlRun
Options Indexes ExecCGI
PerlSendHeader On
</Location>
Alias /agent/ [PKI_INSTANCE_PATH]/docroot/agent/
<Location /agent/ >
SetHandler perl-script
PerlHandler ModPerl::PerlRun
Options Indexes ExecCGI
PerlSendHeader On
</Location>
Alias /admin/ [PKI_INSTANCE_PATH]/docroot/admin/
<Location /admin/ >
SetHandler perl-script
PerlHandler ModPerl::PerlRun
Options Indexes ExecCGI
PerlSendHeader On
</Location>
<Location /index.cgi >
SetHandler perl-script
PerlHandler ModPerl::PerlRun
Options Indexes ExecCGI
PerlSendHeader On
</Location>
|