1
|
<VirtualHost *:80>
|
2
|
ServerRoot /home/bien/web
|
3
|
ServerAdmin aaronmk@nceas.ucsb.edu
|
4
|
|
5
|
RewriteEngine on
|
6
|
RewriteMap tolower int:tolower
|
7
|
RewriteMap readlink prg:readlink
|
8
|
RewriteMap subdomain2path prg:subdomain2path
|
9
|
|
10
|
DocumentRoot .
|
11
|
<Directory .>
|
12
|
Require all granted
|
13
|
AllowOverride all
|
14
|
</Directory>
|
15
|
|
16
|
ErrorLog logs/error_log
|
17
|
CustomLog logs/access_log combined
|
18
|
</VirtualHost>
|
19
|
|
20
|
<VirtualHost *:443>
|
21
|
SSLEngine on
|
22
|
SSLCertificateFile /etc/ssl/local/apache.pem
|
23
|
SSLCertificateKeyFile /etc/ssl/local/apache.key
|
24
|
|
25
|
ServerRoot /home/bien/web
|
26
|
ServerAdmin aaronmk@nceas.ucsb.edu
|
27
|
|
28
|
RewriteEngine on
|
29
|
RewriteMap tolower int:tolower
|
30
|
RewriteMap readlink prg:readlink
|
31
|
RewriteMap subdomain2path prg:subdomain2path
|
32
|
|
33
|
DocumentRoot .
|
34
|
<Directory .>
|
35
|
Require all granted
|
36
|
AllowOverride all
|
37
|
</Directory>
|
38
|
|
39
|
ErrorLog logs/error_log
|
40
|
CustomLog logs/access_log combined
|
41
|
</VirtualHost>
|