Blame SOURCES/mod_nss-conf.patch

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