Alias /owncloud "/var/www/owncloud/" Options +FollowSymLinks AllowOverride All Dav off SetEnv HOME /var/www/owncloud SetEnv HTTP_HOME /var/www/owncloud # just in case if .htaccess gets disabled Require all denied