finished setup of lamp stack plus owncloud src. testing needed.

This commit is contained in:
2024-11-29 16:46:55 +01:00
parent bb209219aa
commit 8eb001f390
12 changed files with 198 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
cd /var/www/owncloud
sudo -E -u www-data /usr/bin/php /var/www/owncloud/occ "$@"

View 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>