Instantly share code, notes, and snippets.

Embed
What would you like to do?
concrete5 multisite single core setting for Apache
Alias "[RELATIVE PATH OF CONCRETE FOLDER]" "[FULL SERVER PATH TO YOUR CONCRETE5 CORE]"
<Directory [FULL SERVER PATH TO EACH WEB AREA]>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "[FULL SERVER PATH TO EACH WEB AREA]:[FULL SERVER PATH TO YOUR CONCRETE5 CORE]:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "[FULL SERVER PATH TO EACH WEB AREA]:[FULL SERVER PATH TO YOUR CONCRETE5 CORE]:/tmp"
</IfModule>
</Directory>
Alias "/concrete" "/var/www/concrete5/"
<Directory /var/www/vhost/EXAMPLE.COM/httpdocs>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/var/www/vhost/EXAMPLE.COM/httpdocs:/var/www/concrete5/:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/vhost/EXAMPLE.COM/httpdocs:/var/www/concrete5/:/tmp"
</IfModule>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment