Forbidden You don't have permission to access this resource?

1 Antwort

Hat Apache auch die Zugriffsrechte für den Ordner webserver?

Wenn ich mich korrekt erinnere, erstellt Apache einen User namens www-data. Dieser muss Zugriff auf den Ordner haben. Am besten, du erstellst einen eigenen Ordner für die Webseitendaten und gibst diesen Ordner für den User www-data frei.


gillesselfish 
Fragesteller
 21.09.2020, 18:26

Ich habe die 3 Befehle:

usermod -a -G www-data pi
chgrp www-data /home/pi/webserver
chmod g+rwxs /home/pi/webserver

eingegeben haber es tut sich noch immer nichts.

0
gillesselfish 
Fragesteller
 21.09.2020, 18:45
@Xearox

[Mon Sep 21 00:00:01.745759 2020] [ssl:warn] [pid 755:tid 3069579792] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the $

[Mon Sep 21 00:00:01.747323 2020] [mpm_event:notice] [pid 755:tid 3069579792] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal$

[Mon Sep 21 00:00:01.747361 2020] [core:notice] [pid 755:tid 3069579792] AH00094: Command line: '/usr/sbin/apache2'

[Mon Sep 21 11:15:19.352692 2020] [authz_core:error] [pid 27884:tid 2694816800] [client 162.142.125.49:52184] AH01630: client denied by server configuration$

[Mon Sep 21 11:15:19.809615 2020] [authz_core:error] [pid 27884:tid 2669638688] [client 162.142.125.49:54772] AH01630: client denied by server configuration$

[Mon Sep 21 15:38:30.699907 2020] [authz_core:error] [pid 27885:tid 2772231200] [client 83.99.19.69:52333] AH01630: client denied by server configuration: /$

[Mon Sep 21 15:38:30.899409 2020] [authz_core:error] [pid 27885:tid 2772231200] [client 83.99.19.69:52333] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:20:26.351488 2020] [authz_core:error] [pid 27885:tid 2797433888] [client 83.99.19.69:54282] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:20:26.455326 2020] [authz_core:error] [pid 27885:tid 2831012896] [client 83.99.19.69:54282] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:23:38.448451 2020] [proxy_fcgi:error] [pid 27884:tid 3049223200] [client 192.168.178.48:54312] AH01067: Failed to read FastCGI header

[Mon Sep 21 16:23:38.448584 2020] [proxy_fcgi:error] [pid 27884:tid 3049223200] (104)Connection reset by peer: [client 192.168.178.48:54312] AH01075: Error $

[Mon Sep 21 16:23:38.459482 2020] [proxy_fcgi:error] [pid 27884:tid 2780632096] [client 192.168.178.48:54312] AH01067: Failed to read FastCGI header

[Mon Sep 21 16:23:38.459595 2020] [proxy_fcgi:error] [pid 27884:tid 2780632096] (104)Connection reset by peer: [client 192.168.178.48:54312] AH01075: Error $

[Mon Sep 21 16:23:38.461941 2020] [proxy_fcgi:error] [pid 27884:tid 2847798304] [client 192.168.178.48:54312] AH01067: Failed to read FastCGI header

[Mon Sep 21 16:23:38.462046 2020] [proxy_fcgi:error] [pid 27884:tid 2847798304] (104)Connection reset by peer: [client 192.168.178.48:54312] AH01075: Error $

[Mon Sep 21 16:23:38.463969 2020] [proxy_fcgi:error] [pid 27884:tid 2797433888] [client 192.168.178.48:54312] AH01067: Failed to read FastCGI header

[Mon Sep 21 16:23:38.464068 2020] [proxy_fcgi:error] [pid 27884:tid 2797433888] (104)Connection reset by peer: [client 192.168.178.48:54312] AH01075: Error $

[Mon Sep 21 16:44:52.408914 2020] [mpm_event:notice] [pid 755:tid 3069579792] AH00493: SIGUSR1 received. Doing graceful restart

[Mon Sep 21 16:44:52.440447 2020] [alias:warn] [pid 755:tid 3069579792] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably $

[Mon Sep 21 16:44:52.447623 2020] [ssl:warn] [pid 755:tid 3069579792] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the $

[Mon Sep 21 16:44:52.448924 2020] [mpm_event:notice] [pid 755:tid 3069579792] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal$

[Mon Sep 21 16:44:52.448949 2020] [core:notice] [pid 755:tid 3069579792] AH00094: Command line: '/usr/sbin/apache2'

[Mon Sep 21 16:45:23.958867 2020] [authz_core:error] [pid 25623:tid 2728387616] [client 83.99.19.69:54478] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:45:24.100293 2020] [authz_core:error] [pid 25623:tid 2686424096] [client 83.99.19.69:54478] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:13.287143 2020] [authz_core:error] [pid 25623:tid 2661245984] [client 83.99.19.69:54486] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:13.353348 2020] [authz_core:error] [pid 25623:tid 2669638688] [client 83.99.19.69:54486] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:48.439175 2020] [authz_core:error] [pid 25623:tid 2592076832] [client 83.99.19.69:54496] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:48.490986 2020] [authz_core:error] [pid 25623:tid 2583684128] [client 83.99.19.69:54496] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:49.503922 2020] [authz_core:error] [pid 25623:tid 2571105312] [client 83.99.19.69:54496] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:49.565825 2020] [authz_core:error] [pid 25623:tid 2562712608] [client 83.99.19.69:54496] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:50.028746 2020] [authz_core:error] [pid 25623:tid 2550133792] [client 83.99.19.69:54496] AH01630: client denied by server configuration: /$

[Mon Sep 21 16:46:50.088730 2020] [authz_core:error] [pid 25623:tid 2541741088] [client 83.99.19.69:54496] AH01630: client denied by server configuration: /$

0