User Tools

Site Tools


owncloud:hosts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
owncloud:hosts [2015/10/05 10:32] – created adminowncloud:hosts [2021/12/06 22:25] (current) – removed admin
Line 1: Line 1:
-====== OwnCloud vhost file ====== 
  
-<code> 
-<VirtualHost *:443> 
-                                        DocumentRoot /var/www/owncloud 
-                         
-                ServerName cloud.knallimall.org 
-                ServerAdmin webmaster@cloud.knallimall.org 
- 
-                ErrorLog /path/to/error.log 
- 
- 
-                <IfModule mod_ssl.c> 
-                SSLEngine on 
-                SSLProtocol All -SSLv2 -SSLv3 
-                SSLCertificateFile /path/to/your/cert/cloud.knallimall.org.crt 
-                SSLCertificateKeyFile /path/to/your/key/cloud.knallimall.org.key 
-                </IfModule> 
- 
-                <Directory /var/www/cloud.knallimall.org/web> 
-                                # Clear PHP settings of this website 
-                                <FilesMatch ".+\.ph(p[345]?|t|tml)$"> 
-                                                SetHandler None 
-                                </FilesMatch> 
-                                Options +FollowSymLinks 
-                                AllowOverride All 
-                                                                Order allow,deny 
-                                Allow from all 
-                                                </Directory> 
-                <Directory /var/www/clients/client1/web15/web> 
-                                # Clear PHP settings of this website 
-                                <FilesMatch ".+\.ph(p[345]?|t|tml)$"> 
-                                                SetHandler None 
-                                </FilesMatch> 
-                                Options +FollowSymLinks 
-                                AllowOverride All 
-                                                                Order allow,deny 
-                                Allow from all 
-                                                </Directory> 
- 
- 
- 
- 
-                # mod_php enabled 
-                AddType application/x-httpd-php .php .php3 .php4 .php5 
-                php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@cloud.knallimall.org" 
-                php_admin_value upload_tmp_dir /var/www/clients/client1/web15/tmp 
-                php_admin_value session.save_path /var/www/clients/client1/web15/tmp 
-        # PHPIniDir /var/www/conf/web15 
-                php_admin_value open_basedir none 
- 
- 
-                # add support for apache mpm_itk 
-                <IfModule mpm_itk_module> 
-                        AssignUserId web15 client1 
-                </IfModule> 
- 
-                <IfModule mod_dav_fs.c> 
-                # Do not execute PHP files in webdav directory 
-                        <Directory /var/www/clients/client1/web15/webdav> 
-                                <ifModule mod_security2.c> 
-                                        SecRuleRemoveById 960015 
-                                        SecRuleRemoveById 960032 
-                                </ifModule> 
-                                <FilesMatch "\.ph(p3?|tml)$"> 
-                                        SetHandler None 
-                                </FilesMatch> 
-                        </Directory> 
-                        DavLockDB /var/www/clients/client1/web15/tmp/DavLock 
-                        # DO NOT REMOVE THE COMMENTS! 
-                        # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE! 
-      # WEBDAV BEGIN 
-                        # WEBDAV END 
-                </IfModule> 
- 
- 
-</VirtualHost> 
-</code> 
owncloud/hosts.1444033969.txt.gz · Last modified: 2015/10/05 10:32 by admin