summaryrefslogtreecommitdiffstats
path: root/pki/base/ra/apache/conf/perl.conf
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-10-04 01:17:41 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-10-04 01:17:41 +0000
commita4682ceae6774956461edd03b2485bbacea445f4 (patch)
tree94c475a125441da63101738220ce3972cf37db61 /pki/base/ra/apache/conf/perl.conf
parent0c775428675d2cb1be9551f84e6b741ca813f77e (diff)
downloadpki-IPA_v2_RHEL_6_2_20111003.tar.gz
pki-IPA_v2_RHEL_6_2_20111003.tar.xz
pki-IPA_v2_RHEL_6_2_20111003.zip
Bugzilla Bug #688225 - (dogtagIPAv2.1) TRACKER: of the Dogtag fixes for freeIPA 2.1IPA_v2_RHEL_6_2_20111003
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/tags/IPA_v2_RHEL_6_2_20111003@2252 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/ra/apache/conf/perl.conf')
-rw-r--r--pki/base/ra/apache/conf/perl.conf102
1 files changed, 102 insertions, 0 deletions
diff --git a/pki/base/ra/apache/conf/perl.conf b/pki/base/ra/apache/conf/perl.conf
new file mode 100644
index 000000000..50139cdab
--- /dev/null
+++ b/pki/base/ra/apache/conf/perl.conf
@@ -0,0 +1,102 @@
+#
+# 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 [SERVER_ROOT]/docroot
+PerlSetEnv PKI_ROOT [SERVER_ROOT]
+<Location /ra/admin/console/config/wizard>
+ SetHandler perl-script
+ PerlHandler PKI::RA::Wizard
+ Order deny,allow
+ Allow from all
+</Location>
+
+<Location /ra/admin/console/config/login>
+ SetHandler perl-script
+ PerlHandler PKI::RA::Login
+ Order deny,allow
+ Allow from all
+</Location>
+
+PerlModule ModPerl::PerlRun
+Alias /ee/ [SERVER_ROOT]/docroot/ee/
+<Location /ee/ >
+ SetHandler perl-script
+ PerlHandler ModPerl::PerlRun
+ Options Indexes ExecCGI
+ PerlSendHeader On
+</Location>
+
+Alias /agent/ [SERVER_ROOT]/docroot/agent/
+<Location /agent/ >
+ SetHandler perl-script
+ PerlHandler ModPerl::PerlRun
+ Options Indexes ExecCGI
+ PerlSendHeader On
+</Location>
+
+Alias /admin/ [SERVER_ROOT]/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>