<VirtualHost *:80>
        ServerName telefonliste.bulme.at
        ServerAdmin rai@bulme.at
        DocumentRoot "/var/www/telefonliste.bulme.at/htdocs"
        <Directory /var/www/telefonliste.bulme.at/htdocs>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Require all granted
        </Directory>
        ErrorLog /var/log/apache2/error.telefonliste.bulme.at.log
        LogLevel warn
        CustomLog /var/log/apache2/access.telefonliste.bulme.at.log combined
        ServerSignature On
	
	#webdav
	Alias /webdav /var/www/telefonliste.bulme.at/htdocs
	<Location /webdav>
	    DAV On
	    SSLRequireSSL
	    Options Indexes
	    AuthType Basic
	    AuthName WebDAV
	    AuthUserFile /var/www/telefonliste.bulme.at/htdocs/.htpasswd-webdav
	    <RequireAny>
	        # Require method GET POST OPTIONS
	        Require valid-user
	    </RequireAny>
	    DirectoryIndex disabled
 AddType text/plain .php .phtml
RemoveHandler .php .phtml .php3
RemoveType .php .phtml .php3
# php_flag engine off
	</Location>
RewriteEngine on
RewriteCond %{SERVER_NAME} =telefonliste.bulme.at
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

