File tree 1 file changed +28
-13
lines changed
1 file changed +28
-13
lines changed Original file line number Diff line number Diff line change 1
1
# CC WordPress 2013
2
2
3
- <!--
4
- <VirtualHost *:8080>
5
- Use CCVHost staging.creativecommons.org http
6
- </VirtualHost>
7
-
8
- <VirtualHost *:443>
9
- Use CCVHost staging.creativecommons.org https
10
- SSLEngine on
11
- SSLCertificateFile /etc/ssl/private/staging.creativecommons.org.crt
12
- SSLCertificateKeyFile /etc/ssl/private/staging.creativecommons.org.key
13
- SSLCACertificateFile /etc/ssl/certs/RapidSSL_CA_bundle.pem
14
- </VirtualHost>
15
- -->
3
+ Sample Apache config file, place in /etc/apache* and tweak the paths
4
+ as needed:
5
+
6
+ Include /var/www/creativecommons.org/apache.conf
7
+
8
+ <VirtualHost *:8080>
9
+ Use CCVHost creativecommons.org http /var/www/creativecommons.org /var/log/apache2/creativecommons.org
10
+ </VirtualHost>
11
+
12
+ <VirtualHost *:443>
13
+ Use CCVHost creativecommons.org https /var/www/creativecommons.org /var/log/apache2/creativecommons.org
14
+ SSLEngine on
15
+ SSLCertificateFile /etc/ssl/private/creativecommons.org.crt
16
+ SSLCertificateKeyFile /etc/ssl/private/creativecommons.org.key
17
+ SSLCACertificateFile /etc/ssl/certs/RapidSSL_CA_bundle.pem
18
+ </VirtualHost>
19
+
20
+ You'll need the <code >macro</code > Apache module. On Debian-like systems you can try:
21
+
22
+ apt-get install libapache2-mod-macro
23
+ a2enmod macro
24
+
25
+ There is a setup script, <code >server_bootstrap.sh</code >, in this
26
+ checkout, it primarily sets up the python environment. It should "just
27
+ work", but if it doesn't then give it a read. It requires some basic
28
+ Python utilities like <code >virtualenv</code > and <code >pip</code >.
29
+
30
+ Happy hacking!
You can’t perform that action at this time.
0 commit comments