Skip to content

Legacy legal code translations and general support issues

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

creativecommons/creativecommons.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Legacy legal code translations and general support issues

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING

Code of conduct

Stars

Watchers

Forks

Languages