Blame SOURCES/mod_nss-conf.patch

90ca4f
--- mod_nss-1.0.6/nss.conf.in.orig	2006-10-20 11:08:42.000000000 -0400
90ca4f
+++ mod_nss-1.0.6/nss.conf.in	2006-10-23 15:27:22.000000000 -0400
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
90ca4f
@@ -40,7 +42,7 @@
90ca4f
 #   Pass Phrase Helper:
90ca4f
 #   This helper program stores the token password pins between
90ca4f
 #   restarts of Apache.
90ca4f
-NSSPassPhraseHelper @apache_bin@/nss_pcache
90ca4f
+NSSPassPhraseHelper /usr/sbin/nss_pcache
90ca4f
 
90ca4f
 #   Configure the SSL Session Cache. 
90ca4f
 #   NSSSessionCacheSize is the number of entries in the cache.
90ca4f
@@ -68,17 +70,17 @@
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:
90ca4f
@@ -113,7 +115,7 @@
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
90ca4f
@@ -189,7 +191,7 @@
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