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 subdomain2path prg:subdomain2path
|
8
|
|
9
|
DocumentRoot .
|
10
|
<Directory .>
|
11
|
Require all granted
|
12
|
AllowOverride all
|
13
|
</Directory>
|
14
|
|
15
|
ErrorLog logs/error_log
|
16
|
CustomLog logs/access_log combined
|
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/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>
|