BookStack https subinformation access show blank site #4654

Closed
opened 2026-02-05 09:09:39 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @Enigma7291 on GitHub (Apr 17, 2024).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

The site work on http prot. I can reach the main site, shelves, books and contents.
But if chgange to https// I can reach the main site. If I click on shelves, books or contents, the server show:

Not Found! The requested URL was not found on this server. Apache/2.4.56 (Debian) Server at xyz.example.com Port 443

http config:

<VirtualHost *:80>
     ServerName xyz.example.com
     ServerAdmin admin@xample.com
     DocumentRoot /var/www/html/BookStack/public/

    <Directory /var/www/html/BookStack/public/>
        Options FollowSymlinks
        AllowOverride All FileInfo
        Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

SSL config: The cert show trusted in browsers
]

<IfModule mod_ssl.c>
    <VirtualHost _default_:443>

    ServerName xyz.example.com
    ServerAdmin admin@xample.com
    DocumentRoot /var/www/html/BookStack/public/
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/xyz_2024.crt
    SSLCertificateKeyFile /etc/ssl/private/xyz_2024.key

    <FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
    </FilesMatch>

    <Directory /usr/lib/cgi-bin>
    SSLOptions +StdEnvVars
    </Directory>
</VirtualHost>
</IfModule>

Exact BookStack Version

v21.08.5

Log Content

/var/log/apache2/error.log

Details

]
[Wed Apr 17 00:00:54.647466 2024] [mpm_prefork:notice] [pid 1729464] AH00171: Graceful restart requested, doing restart
[Wed Apr 17 00:00:54.782774 2024] [mpm_prefork:notice] [pid 1729464] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 00:00:54.782799 2024] [core:notice] [pid 1729464] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:10:08.296152 2024] [mpm_prefork:notice] [pid 1729464] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:10:08.581245 2024] [mpm_prefork:notice] [pid 2136955] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:10:08.581392 2024] [core:notice] [pid 2136955] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:13:33.422805 2024] [mpm_prefork:notice] [pid 2136955] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:13:33.640765 2024] [mpm_prefork:notice] [pid 2207742] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:13:33.640905 2024] [core:notice] [pid 2207742] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:22:37.491604 2024] [mpm_prefork:notice] [pid 2207742] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:22:37.724395 2024] [mpm_prefork:notice] [pid 2394356] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:22:37.724501 2024] [core:notice] [pid 2394356] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:43:45.665999 2024] [mpm_prefork:notice] [pid 2394356] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:43:45.853626 2024] [mpm_prefork:notice] [pid 2830832] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:43:45.853739 2024] [core:notice] [pid 2830832] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:44:43.284848 2024] [mpm_prefork:notice] [pid 2830832] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:44:43.447393 2024] [mpm_prefork:notice] [pid 2851027] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:44:43.447473 2024] [core:notice] [pid 2851027] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:45:42.230014 2024] [mpm_prefork:notice] [pid 2851027] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:45:42.414491 2024] [mpm_prefork:notice] [pid 2871714] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:45:42.414604 2024] [core:notice] [pid 2871714] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:46:33.666394 2024] [mpm_prefork:notice] [pid 2871714] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:46:33.848068 2024] [mpm_prefork:notice] [pid 2889953] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:46:33.848178 2024] [core:notice] [pid 2889953] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:47:55.441100 2024] [mpm_prefork:notice] [pid 2889953] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:47:55.629981 2024] [mpm_prefork:notice] [pid 2917238] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:47:55.630056 2024] [core:notice] [pid 2917238] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:49:28.431980 2024] [mpm_prefork:notice] [pid 2917238] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:49:28.662563 2024] [mpm_prefork:notice] [pid 2951551] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:49:28.662686 2024] [core:notice] [pid 2951551] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:50:15.280754 2024] [mpm_prefork:notice] [pid 2951551] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:50:15.537658 2024] [mpm_prefork:notice] [pid 2965891] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:50:15.537763 2024] [core:notice] [pid 2965891] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 17 09:51:33.143373 2024] [mpm_prefork:notice] [pid 2965891] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Apr 17 09:51:33.386847 2024] [mpm_prefork:notice] [pid 2993687] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations
[Wed Apr 17 09:51:33.386985 2024] [core:notice] [pid 2993687] AH00094: Command line: '/usr/sbin/apache2'

Hosting Environment

root@Virtual-Web:/var/log/apache2# uname -a
Linux Virtual-Web 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux
root@Virtual-Web:/var/log/apache2#

root@Virtual-Web:/var/log/apache2# cat /etc/debian_version
11.7
root@Virtual-Web:/var/log/apache2#

i php-common 2:69 all Common files for PHP packages
ii php-ldap 2:7.4+76 all LDAP module for PHP [default]

Originally created by @Enigma7291 on GitHub (Apr 17, 2024). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario The site work on http prot. I can reach the main site, shelves, books and contents. But if chgange to https// I can reach the main site. If I click on shelves, books or contents, the server show: Not Found! The requested URL was not found on this server. Apache/2.4.56 (Debian) Server at xyz.example.com Port 443 http config: ```apache <VirtualHost *:80> ServerName xyz.example.com ServerAdmin admin@xample.com DocumentRoot /var/www/html/BookStack/public/ <Directory /var/www/html/BookStack/public/> Options FollowSymlinks AllowOverride All FileInfo Require all granted </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> ``` SSL config: The cert show trusted in browsers ] ```apache <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerName xyz.example.com ServerAdmin admin@xample.com DocumentRoot /var/www/html/BookStack/public/ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/ssl/certs/xyz_2024.crt SSLCertificateKeyFile /etc/ssl/private/xyz_2024.key <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory> </VirtualHost> </IfModule> ``` ### Exact BookStack Version v21.08.5 ### Log Content /var/log/apache2/error.log <details><summary>Details</summary> <p> ``` ] [Wed Apr 17 00:00:54.647466 2024] [mpm_prefork:notice] [pid 1729464] AH00171: Graceful restart requested, doing restart [Wed Apr 17 00:00:54.782774 2024] [mpm_prefork:notice] [pid 1729464] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 00:00:54.782799 2024] [core:notice] [pid 1729464] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:10:08.296152 2024] [mpm_prefork:notice] [pid 1729464] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:10:08.581245 2024] [mpm_prefork:notice] [pid 2136955] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:10:08.581392 2024] [core:notice] [pid 2136955] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:13:33.422805 2024] [mpm_prefork:notice] [pid 2136955] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:13:33.640765 2024] [mpm_prefork:notice] [pid 2207742] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:13:33.640905 2024] [core:notice] [pid 2207742] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:22:37.491604 2024] [mpm_prefork:notice] [pid 2207742] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:22:37.724395 2024] [mpm_prefork:notice] [pid 2394356] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:22:37.724501 2024] [core:notice] [pid 2394356] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:43:45.665999 2024] [mpm_prefork:notice] [pid 2394356] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:43:45.853626 2024] [mpm_prefork:notice] [pid 2830832] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:43:45.853739 2024] [core:notice] [pid 2830832] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:44:43.284848 2024] [mpm_prefork:notice] [pid 2830832] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:44:43.447393 2024] [mpm_prefork:notice] [pid 2851027] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:44:43.447473 2024] [core:notice] [pid 2851027] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:45:42.230014 2024] [mpm_prefork:notice] [pid 2851027] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:45:42.414491 2024] [mpm_prefork:notice] [pid 2871714] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:45:42.414604 2024] [core:notice] [pid 2871714] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:46:33.666394 2024] [mpm_prefork:notice] [pid 2871714] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:46:33.848068 2024] [mpm_prefork:notice] [pid 2889953] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:46:33.848178 2024] [core:notice] [pid 2889953] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:47:55.441100 2024] [mpm_prefork:notice] [pid 2889953] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:47:55.629981 2024] [mpm_prefork:notice] [pid 2917238] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:47:55.630056 2024] [core:notice] [pid 2917238] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:49:28.431980 2024] [mpm_prefork:notice] [pid 2917238] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:49:28.662563 2024] [mpm_prefork:notice] [pid 2951551] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:49:28.662686 2024] [core:notice] [pid 2951551] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:50:15.280754 2024] [mpm_prefork:notice] [pid 2951551] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:50:15.537658 2024] [mpm_prefork:notice] [pid 2965891] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:50:15.537763 2024] [core:notice] [pid 2965891] AH00094: Command line: '/usr/sbin/apache2' [Wed Apr 17 09:51:33.143373 2024] [mpm_prefork:notice] [pid 2965891] AH00170: caught SIGWINCH, shutting down gracefully [Wed Apr 17 09:51:33.386847 2024] [mpm_prefork:notice] [pid 2993687] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n mod_wsgi/4.6.5 Python/2.7 configured -- resuming normal operations [Wed Apr 17 09:51:33.386985 2024] [core:notice] [pid 2993687] AH00094: Command line: '/usr/sbin/apache2' ``` </p> </details> ### Hosting Environment root@Virtual-Web:/var/log/apache2# uname -a Linux Virtual-Web 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux root@Virtual-Web:/var/log/apache2# root@Virtual-Web:/var/log/apache2# cat /etc/debian_version 11.7 root@Virtual-Web:/var/log/apache2# i php-common 2:69 all Common files for PHP packages ii php-ldap 2:7.4+76 all LDAP module for PHP [default]
OVERLORD added the 🐕 Support label 2026-02-05 09:09:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4654