Created
May 24, 2012 15:50
-
-
Save kindly/2782349 to your computer and use it in GitHub Desktop.
Sample apache configuration for running ckan side by side with drupal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName test.ckan.org | |
ServerAlias test.ckan.org localhost | |
#Drupal instance | |
DocumentRoot /var/www/drupal | |
DirectoryIndex index.phtml index.html index.php index.htm | |
# CKAN lives under /data | |
WSGIScriptAlias /data /dir/to/wsgi.py | |
WSGIDaemonProcess test.ckan.org display-name=test.ckan.org processes=2 threads=10 | |
WSGIProcessGroup test.ckan.org | |
# Pass authorization info on (needed for rest api) | |
WSGIPassAuthorization On | |
# Drupal has all requests apart form /data | |
<Directory /var/www/drupal> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
</Directory> | |
ErrorLog /var/log/apache2/test.ckan.error.log | |
CustomLog /var/log/apache2/test.ckan.custom.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment