Skip to content

Instantly share code, notes, and snippets.

@arkenous
Created November 24, 2015 11:58
Show Gist options
  • Save arkenous/8f15f86a6702b9fdfee4 to your computer and use it in GitHub Desktop.
Save arkenous/8f15f86a6702b9fdfee4 to your computer and use it in GitHub Desktop.
Apache extra configuration file for ownCloud
<IfModule mod_alias.c>
Alias /owncloud /usr/share/webapps/owncloud/
</IfModule>
<Directory /usr/share/webapps/owncloud/>
Options FollowSymlinks
AllowOverride all
Require all granted
php_admin_value open_basedir "/srv/http/:/home/:/var/tmp/:/tmp/:/usr/share/pear/:/usr/share/webapps/owncloud/:/etc/webapps/owncloud:/dev/urandom"
</Directory>
<VirtualHost *:443>
ServerAdmin foo@foofarm.com
# DocumentRoot /usr/share/webapps/owncloud
ServerName www.trileg.net
ErrorLog /var/log/httpd/owncloud.foo.info-error_log
CustomLog /var/log/httpd/owncloud.foo.info-access_log common
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment