Project

General

Profile

« Previous | Next » 

Revision 8764

web/main.conf: added SSL-protected site for use with password-protected areas of the site, so that the user's password is not transmitted in plaintext. (because the SSL certificate is self-signed, it will unfortunately display the Confirm Security Exception message in Firefox.) note that digest authentication cannot be used to avoid plaintext passwords, because it requires knowing the user's original password to generate the digest, but we have only the MD5 sums in /etc/shadow.

View differences:

web/main.conf
15 15
	ErrorLog logs/error_log
16 16
	CustomLog logs/access_log combined
17 17
</VirtualHost>
18

  
19
<VirtualHost *:443>
20
	SSLEngine on
21
	SSLCertificateFile /etc/ssl/local/apache.pem
22
	SSLCertificateKeyFile /etc/ssl/local/apache.key
23
	
24
	ServerRoot /home/bien/svn/web
25
	ServerAdmin aaronmk@nceas.ucsb.edu
26
	
27
	RewriteEngine on
28
	RewriteMap tolower int:tolower
29
	RewriteMap subdomain2path prg:subdomain2path
30
	
31
	DocumentRoot .
32
	<Directory .>
33
		Require all granted
34
		AllowOverride all
35
	</Directory>
36
	
37
	ErrorLog logs/error_log
38
	CustomLog logs/access_log combined
39
</VirtualHost>

Also available in: Unified diff