Blame SOURCES/mod_nss-conf.patch

b7538d
From bc24e3c0a438a2b6f177227b3340b516c15292a8 Mon Sep 17 00:00:00 2001
b7538d
From: Rob Crittenden <rcritten@redhat.com>
b7538d
Date: Thu, 20 Feb 2014 17:21:41 -0500
b7538d
Subject: [PATCH] Configure nss.conf.in to match Fedora filesystem layout
b7538d
b7538d
---
b7538d
 nss.conf.in | 18 ++++++++++--------
b7538d
 1 file changed, 10 insertions(+), 8 deletions(-)
b7538d
b7538d
diff --git a/nss.conf.in b/nss.conf.in
b7538d
index c941ecf..349a810 100644
b7538d
--- a/nss.conf.in
b7538d
+++ b/nss.conf.in
90ca4f
@@ -8,14 +8,16 @@
90ca4f
 # consult the online docs. You have been warned.  
90ca4f
 #
90ca4f
 
90ca4f
+LoadModule nss_module modules/libmodnss.so
90ca4f
+
90ca4f
 #
90ca4f
 # When we also provide SSL we have to listen to the 
90ca4f
 # standard HTTP port (see above) and to the HTTPS port
90ca4f
 #
90ca4f
 # Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
90ca4f
-#       Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
90ca4f
+#       Listen directives: "Listen [::]:8443" and "Listen 0.0.0.0:443"
90ca4f
 #
90ca4f
-Listen 443
90ca4f
+Listen 8443
90ca4f
 
90ca4f
 ##
90ca4f
 ##  SSL Global Context
b7538d
@@ -79,17 +81,17 @@ NSSRequireSafeNegotiation off
90ca4f
 ## SSL Virtual Host Context
90ca4f
 ##
90ca4f
 
90ca4f
-<VirtualHost _default_:443>
90ca4f
+<VirtualHost _default_:8443>
90ca4f
 
90ca4f
 #   General setup for the virtual host
90ca4f
 #DocumentRoot "@apache_prefix@/htdocs"
90ca4f
-#ServerName www.example.com:443
90ca4f
+#ServerName www.example.com:8443
90ca4f
 #ServerAdmin you@example.com
90ca4f
 
90ca4f
 # mod_nss can log to separate log files, you can choose to do that if you'd like
90ca4f
 # LogLevel is not inherited from httpd.conf.
90ca4f
-#ErrorLog @apache_prefix@/logs/error_log
90ca4f
-#TransferLog @apache_prefix@/logs/access_log
90ca4f
+ErrorLog @apache_prefix@/logs/error_log
90ca4f
+TransferLog @apache_prefix@/logs/access_log
90ca4f
 LogLevel warn
90ca4f
 
90ca4f
 #   SSL Engine Switch:
b7538d
@@ -133,7 +135,7 @@ NSSNickname Server-Cert
90ca4f
 #   The NSS security database directory that holds the certificates and
90ca4f
 #   keys. The database consists of 3 files: cert8.db, key3.db and secmod.db.
90ca4f
 #   Provide the directory that these files exist.
90ca4f
-NSSCertificateDatabase @apache_conf@
90ca4f
+NSSCertificateDatabase /etc/httpd/alias
90ca4f
 
90ca4f
 #   Database Prefix:
90ca4f
 #   In order to be able to store multiple NSS databases in one directory
b7538d
@@ -209,7 +211,7 @@ NSSCertificateDatabase @apache_conf@
90ca4f
 <Files ~ "\.(cgi|shtml|phtml|php3?)$">
90ca4f
     NSSOptions +StdEnvVars
90ca4f
 </Files>
90ca4f
-<Directory "@apache_prefix@/cgi-bin">
90ca4f
+<Directory "/var/www/cgi-bin">
90ca4f
     NSSOptions +StdEnvVars
90ca4f
 </Directory>
90ca4f
 
b7538d
-- 
b7538d
1.7.11.7
b7538d