Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.32 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.32 KB

CC WordPress 2013

Sample Apache config file, place in /etc/apache* and tweak the paths as needed:

Include /var/www/creativecommons.org/apache.conf

<VirtualHost *:8080>
    Use CCVHost creativecommons.org http /var/www/creativecommons.org /var/log/apache2/creativecommons.org
</VirtualHost>

<VirtualHost *:443>
    Use CCVHost creativecommons.org https /var/www/creativecommons.org /var/log/apache2/creativecommons.org
    SSLEngine on
    SSLCertificateFile /etc/ssl/private/creativecommons.org.crt
    SSLCertificateKeyFile /etc/ssl/private/creativecommons.org.key
    SSLCACertificateFile /etc/ssl/certs/RapidSSL_CA_bundle.pem
</VirtualHost>

You'll need the macro Apache module. On Debian-like systems you can try:

apt-get install libapache2-mod-macro
a2enmod macro

There is a setup script, server_bootstrap.sh, in this checkout, it primarily sets up the python environment. It should "just work", but if it doesn't then give it a read. It requires some basic Python utilities like virtualenv and pip.

To configure WordPress, there is a sample config file at docroot/wp-config-local.php.sample, copy it to docroot/wp-config-local.php and fill in the information as needed by the WP install.

Happy hacking!