Skip to content

Instantly share code, notes, and snippets.

@NightWhistler
Created January 12, 2019 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NightWhistler/3788ab9db9266b3761e3f72a41ea6b81 to your computer and use it in GitHub Desktop.
Save NightWhistler/3788ab9db9266b3761e3f72a41ea6b81 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
Alias /owncloud "/var/www/owncloud/"
<Directory /var/www/owncloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment