finished setup of lamp stack plus owncloud src. testing needed.
This commit is contained in:
4
roles/owncloud/templates/occ.j2
Normal file
4
roles/owncloud/templates/occ.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /var/www/owncloud
|
||||
sudo -E -u www-data /usr/bin/php /var/www/owncloud/occ "$@"
|
||||
17
roles/owncloud/templates/owncloud.dav.conf.j2
Normal file
17
roles/owncloud/templates/owncloud.dav.conf.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ hostname }}
|
||||
DirectoryIndex index.php index.html
|
||||
DocumentRoot /var/www/owncloud
|
||||
<Directory /var/www/owncloud>
|
||||
Options +FollowSymlinks -Indexes
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
<IfModule mod_dav.c>
|
||||
Dav off
|
||||
</IfModule>
|
||||
|
||||
SetEnv HOME /var/www/owncloud
|
||||
SetEnv HTTP_HOME /var/www/owncloud
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user