]> git.pld-linux.org Git - packages/apache-mod_nss.git/blob - apache-mod_nss-conf.patch
- added
[packages/apache-mod_nss.git] / apache-mod_nss-conf.patch
1 --- mod_nss-1.0.6/nss.conf.in.orig      2006-10-20 11:08:42.000000000 -0400
2 +++ mod_nss-1.0.6/nss.conf.in   2006-10-23 15:27:22.000000000 -0400
3 @@ -8,14 +8,16 @@
4  # consult the online docs. You have been warned.  
5  #
6  
7 +LoadModule nss_module modules/libmodnss.so
8 +
9  #
10  # When we also provide SSL we have to listen to the 
11  # standard HTTP port (see above) and to the HTTPS port
12  #
13  # Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
14 -#       Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
15 +#       Listen directives: "Listen [::]:8443" and "Listen 0.0.0.0:443"
16  #
17 -Listen 443
18 +Listen 8443
19  
20  ##
21  ##  SSL Global Context
22 @@ -40,7 +42,7 @@
23  #   Pass Phrase Helper:
24  #   This helper program stores the token password pins between
25  #   restarts of Apache.
26 -NSSPassPhraseHelper @apache_bin@/nss_pcache
27 +NSSPassPhraseHelper /usr/sbin/nss_pcache
28  
29  #   Configure the SSL Session Cache. 
30  #   NSSSessionCacheSize is the number of entries in the cache.
31 @@ -68,17 +70,17 @@
32  ## SSL Virtual Host Context
33  ##
34  
35 -<VirtualHost _default_:443>
36 +<VirtualHost _default_:8443>
37  
38  #   General setup for the virtual host
39  #DocumentRoot "@apache_prefix@/htdocs"
40 -#ServerName www.example.com:443
41 +#ServerName www.example.com:8443
42  #ServerAdmin you@example.com
43  
44  # mod_nss can log to separate log files, you can choose to do that if you'd like
45  # LogLevel is not inherited from httpd.conf.
46 -#ErrorLog @apache_prefix@/logs/error_log
47 -#TransferLog @apache_prefix@/logs/access_log
48 +ErrorLog @apache_prefix@/logs/error_log
49 +TransferLog @apache_prefix@/logs/access_log
50  LogLevel warn
51  
52  #   SSL Engine Switch:
53 @@ -113,7 +115,7 @@
54  #   The NSS security database directory that holds the certificates and
55  #   keys. The database consists of 3 files: cert8.db, key3.db and secmod.db.
56  #   Provide the directory that these files exist.
57 -NSSCertificateDatabase @apache_conf@
58 +NSSCertificateDatabase /etc/httpd/alias
59  
60  #   Database Prefix:
61  #   In order to be able to store multiple NSS databases in one directory
62 @@ -189,7 +191,7 @@
63  <Files ~ "\.(cgi|shtml|phtml|php3?)$">
64      NSSOptions +StdEnvVars
65  </Files>
66 -<Directory "@apache_prefix@/cgi-bin">
67 +<Directory "/var/www/cgi-bin">
68      NSSOptions +StdEnvVars
69  </Directory>
70  
This page took 0.036387 seconds and 4 git commands to generate.