/[hydra]/hydra/boa.conf
ViewVC logotype

Diff of /hydra/boa.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by nmav, Sat Sep 21 13:53:12 2002 UTC revision 1.7 by nmav, Wed Sep 25 07:33:35 2002 UTC
# Line 19  Line 19 
19  # boa -c /usr/local/boa  # boa -c /usr/local/boa
20    
21  # number of threads to spawn  # number of threads to spawn
22  Threads 4  Threads 5
23    
24  # maximum connections (per thread)  # maximum connections (per thread)
25  #MaxConnections 0  #MaxConnections 0
26    
 # non zero enables SSL support  
 # 1: only SSL support  
 # 2: both SSL and non SSL ports  
 SSL 2  
   
 # The port where the SSL server will listen on  
 SSLPort 4443  
   
 # read the certificate from  
 SSLCertificate cert.pem  
   
 # read the private key from  
 SSLKey key.pem  
   
 # Number of sessions to cache. This is to support session resuming.  
 # Set to 0 to disable.  
 SSLSessionCache 40  
   
 # After this time (in seconds) has passed, the stored SSL sessions  
 # will be expired, and will not be resumed.  
 SSLSessionTimeout 3600 #one hour  
   
 # Set the prime bits used in Diffie Hellman authentication. The parameters  
 # are only generated if the DHE ciphersuites are enabled.  
 # Value should be one of 768, 1024, 2048, 4096  
 SSLDHBits 768  
   
 # The period when the generated parameters are valid. After that period  
 # boa will regenerate parameters.  
 SSLParamsRefresh 172800 #two days  
   
 # A comma separated list of the SSL ciphers. Valid selections are:  
 # ARCFOUR-128, ARCFOUR-40, 3DES, AES  
 # Note that ARCFOUR-40 is a weak algorithm.  
 SSLCiphers "AES, 3DES, ARCFOUR-128, ARCFOUR-40"  
   
 # A comma separated list of the SSL key exchange methods. Valid selections  
 # are: RSA, DHE-RSA, DHE-DSS, RSA-EXPORT  
 # Note that RSA-EXPORT is a weak algorithm.  
 SSLKeyExchangeAlgorithms "RSA, RSA-EXPORT"  
   
 # A comma separated list of the SSL MAC algorithms. Valid selections  
 # are: MD5, SHA1  
 SSLMACAlgorithms "SHA1, MD5"  
   
 # A comma separated list of the SSL compression methods. Valid selections  
 # are: NULL  
 SSLCompressionMethods "NULL"  
   
 # A comma separated list of the SSL protocol versions. Valid selections  
 # are: TLS1.0 and SSL3.0  
 SSLProtocols "TLS1.0, SSL3.0"  
27    
28  # Port: The port Boa runs on.  The default port for http servers is 80.  # Port: The port Boa runs on.  The default port for http servers is 80.
29  # If it is less than 1024, the server must be started as root.  # If it is less than 1024, the server must be started as root.
# Line 151  AccessLog /var/log/boa/access_log Line 99  AccessLog /var/log/boa/access_log
99    
100  #ServerName www.your.org.here  #ServerName www.your.org.here
101    
102  # VirtualHost: a logical switch.  # VirtualHost: Setup any virtual hosts (host based)
103  # Comment out to disable.  # Comment out to disable.
104  # Given DocumentRoot /var/www, requests on interface 'A' or IP 'IP-A'  # It needs to specify the HostName, the IP (use '*' if all),
105  # become /var/www/IP-A.  # the DocumentRoot and the UserDir (if any).
106  # Example: http://localhost/ becomes /var/www/127.0.0.1  # UserDir ist he name of the directory which is appended onto a user's home
107    # directory if a ~user request is recieved.
108    #
109    # Example:
110    # VirtualHost www.dot.com * /var/www public_html
111    # VirtualHost www.dot.com 127.0.0.1 /var/www ""
112  #  #
 # Not used until version 0.93.17.2.  This "feature" also breaks commonlog  
 # output rules, it prepends the interface number to each access_log line.  
 # You are expected to fix that problem with a postprocessing script.  
113    
114  #VirtualHost  #VirtualHost www.dot.com * /var/www ""
115    
116  # DocumentRoot: The root directory of the HTML documents.  # DocumentRoot: The root directory of the HTML documents.
117  # Comment out to disable server non user files.  # Comment out to disable server non user files.
118    #
119    # Note that if VirtualHost is enabled, this will be the fallback
120    # for the clients that did not supply any host.
121    
122  DocumentRoot /var/www  DocumentRoot /var/www
123    
 # UserDir: The name of the directory which is appended onto a user's home  
 # directory if a ~user request is recieved.  
   
 UserDir public_html  
   
124  # DirectoryIndex: Name of the file to use as a pre-written HTML  # DirectoryIndex: Name of the file to use as a pre-written HTML
125  # directory index.  Please MAKE AND USE THESE FILES.  On the  # directory index.  Please MAKE AND USE THESE FILES.  On the
126  # fly creation of directory indexes can be _slow_.  # fly creation of directory indexes can be _slow_.
# Line 238  CGIPath /bin:/usr/bin:/usr/local/bin Line 186  CGIPath /bin:/usr/bin:/usr/local/bin
186  # Redirect allows you to tell clients about documents which used to exist in  # Redirect allows you to tell clients about documents which used to exist in
187  # your server's namespace, but do not anymore. This allows you to tell the  # your server's namespace, but do not anymore. This allows you to tell the
188  # clients where to look for the relocated document.  # clients where to look for the relocated document.
189  # Example: Redirect /bar http://elsewhere/feh/bar  # Example: Redirect www.ourhost.com /bar http://elsewhere/feh/bar
190    
191  # Aliases: Aliases one path to another.  # Aliases: Aliases one path to another.
192  # Example: Alias /path1/bar /path2/foo  # Example: Alias www.ourhost.com /path1/bar /absolute/path2/foo
193    
194  Alias /doc /usr/doc  #Alias www.localhost.com /doc /usr/doc
195    
196  # ScriptAlias: Maps a virtual path to a directory for serving scripts  # ScriptAlias: Maps a virtual path to a directory for serving scripts
197  # Example: ScriptAlias /htbin/ /www/htbin/  # Example: ScriptAlias www.ourhost.com /htbin/ /www/htbin/
198    
199    #ScriptAlias www.localhost.com /cgi-bin/ /usr/lib/cgi-bin/
200    
201    # non zero enables SSL support
202    # 1: only SSL support
203    # 2: both SSL and non SSL ports
204    SSL 2
205    
206    # The port where the SSL server will listen on
207    SSLPort 4443
208    
209    # read the certificate from
210    SSLCertificate cert.pem
211    
212    # read the private key from
213    SSLKey key.pem
214    
215    # Number of sessions to cache. This is to support session resuming.
216    # Set to 0 to disable.
217    SSLSessionCache 40
218    
219  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/  # After this time (in seconds) has passed, the stored SSL sessions
220    # will be expired, and will not be resumed.
221    SSLSessionTimeout 3600 #one hour
222    
223    # Set the prime bits used in Diffie Hellman authentication. The parameters
224    # are only generated if the DHE ciphersuites are enabled.
225    # Value should be one of 768, 1024, 2048, 4096
226    SSLDHBits 768
227    
228    # The period when the generated parameters are valid. After that period
229    # boa will regenerate parameters.
230    SSLParamsRefresh 172800 #two days
231    
232    # A comma separated list of the SSL ciphers. Valid selections are:
233    # ARCFOUR-128, ARCFOUR-40, 3DES, AES
234    # Note that ARCFOUR-40 is a weak algorithm.
235    SSLCiphers "AES, 3DES, ARCFOUR-128, ARCFOUR-40"
236    
237    # A comma separated list of the SSL key exchange methods. Valid selections
238    # are: RSA, DHE-RSA, DHE-DSS, RSA-EXPORT
239    # Note that RSA-EXPORT is a weak algorithm.
240    SSLKeyExchangeAlgorithms "RSA, RSA-EXPORT"
241    
242    # A comma separated list of the SSL MAC algorithms. Valid selections
243    # are: MD5, SHA1
244    SSLMACAlgorithms "SHA1, MD5"
245    
246    # A comma separated list of the SSL compression methods. Valid selections
247    # are: NULL
248    SSLCompressionMethods "NULL"
249    
250    # A comma separated list of the SSL protocol versions. Valid selections
251    # are: TLS1.0 and SSL3.0
252    SSLProtocols "TLS1.0, SSL3.0"

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.7

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26