日志:
+ id -u user
+ echo 'The user user does not exist, creating...'
+ groupadd -f -g 1000 user
+ useradd -u 1000 -g user user
+ '[' '!' -e /var/www/html/index.php ']'
+ chown -R user:user /var/www/html
+ chown user:user /user-files
+ exec /usr/bin/supervisord -c /filerun/supervisord.conf
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.0.23. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.0.23. Set the 'ServerName' directive globally to suppress this message
[Sat Jun 10 02:34:39.930013 2023] [mpm_prefork:notice] [pid 23] AH00163: Apache/2.4.38 (Debian) configured -- resuming normal operations
[Sat Jun 10 02:34:39.930513 2023] [core:notice] [pid 23] AH00094: Command line: 'apache2 -D FOREGROUND'
[Sat Jun 10 02:34:49.145064 2023] [autoindex:error] [pid 36] [client 192.168.0.75:50901] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
The user user does not exist, creating...
2023-06-10 02:34:38,097 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
192.168.0.75 - - [10/Jun/2023:02:34:49 +0800] "GET / HTTP/1.1" 403 494 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 Edg/93.0.961.52"
192.168.0.75 - - [10/Jun/2023:02:35:41 +0800] "-" 408 0 "-" "-"
192.168.0.75 - - [10/Jun/2023:02:35:41 +0800] "-" 408 0 "-" "-"
[Sat Jun 10 02:39:44.936775 2023] [autoindex:error] [pid 39] [client 192.168.0.75:63985] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
192.168.0.75 - - [10/Jun/2023:02:39:44 +0800] "GET / HTTP/1.1" 403 494 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 Edg/93.0.961.52"
192.168.0.75 - - [10/Jun/2023:02:40:36 +0800] "-" 408 0 "-" "-"
进入wedui:
Forbidden
You don't have permission to access this resource.
Apache/2.4.38 (Debian) Server at 192.168.0.23 Port 80
完全搞不定啊