Hallo
ich habe mir auf meinem RPi owncloud installiert. Es ist auch richtig konfiguriert, nur seit dem ich noch eine ssl verschlüsselung hinzufühgen wollte geht gar nichts mehr
Ich habe folgende Anleiltung genutzt: http://sharadchhetri.com/2014/07/21/set…-04-lts-server/ (bei den zwei methoden die name based methode)
Allerdings ist mein setup nicht so einfach wie in der anleitung, ich habe auf meinem pi noch eine reguläre website laufen... Allein über das unterverzeichniss soll entschieden werden ob http oder https verwendet wird. Klappt auch, nur nachdem https verwedet wird kommt halt fehler 500 :d
Wo könnte mein Fehler liegen?
Laut diversen Webquellen kommt auch die .htacess datei in frage.
Hier nochmal der inhalt der .htaress des apache error logs uder der .htaress des unterverzeichnisses owncloud:
/var/www/.hta
/var/www/owncloud/.htacess
<IfModule mod_fcgid.c>
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
</IfModule>
<IfModule mod_php5.c>
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 512M
php_value mbstring.func_overload 0
<IfModule env_module>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R]
RewriteRule ^apps/calendar/caldav\.php remote.php/caldav/ [QSA,L]
RewriteRule ^apps/contacts/carddav\.php remote.php/carddav/ [QSA,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
#AuthUserFile /var/www/owncloud/.htpasswd
#AuthGroupFile /www.null
#AuthName "Authorization Required"
#AuthType Basic
#
#require user owncloud_user
Alles anzeigen
und der apache error log:
[Sun Sep 28 14:11:58 2014] [notice] Graceful restart requested, doing restart
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Sun Sep 28 14:12:00 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Sep 28 14:12:00 2014] [notice] mod_qos(009): loaded MPM is 'Prefork' but mod_qos should be used with MPM 'Worker' only.
[Sun Sep 28 14:12:01 2014] [notice] Apache/2.2.22 (Debian) DAV/2 PHP/5.4.4-14+deb7u14 mod_ssl/2.2.22 OpenSSL/1.0.1e mod_qos/10.8 configured -- resuming normal operations
[Sun Sep 28 14:12:11 2014] [crit] [client 77.179.18.167] configuration error: couldn't perform authentication. AuthType not set!: /owncloud/
[Sun Sep 28 14:12:12 2014] [crit] [client 77.179.18.167] configuration error: couldn't perform authentication. AuthType not set!: /favicon.ico
hoffentlich findet jemand den fehler
lg Tim
PS: wenn jemand den fehler live sehen will --> https://hehxesblog.net/owncloud/
mein "normaler blog (auch wenn da bis jetzt noch nicht viel steht ) --> http://hehxesblog.net