400 Bad Request #708

Closed
opened 2026-02-04 21:57:22 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @jkirkcaldy on GitHub (Jun 5, 2018).

On a fresh install on Ubuntu 16.04 LTS I can't access the bookstack index page or any page for that matter. I installed using the Manual instructions on the Bookstack website.

Server: Ubuntu 16.04 LTS
Web Server: Apache
Apache Config:

<VirtualHost *:80>

    ServerName wiki.example.com
    ServerAlias wiki.example.com
	DocumentRoot /var/www/BookStack/public
    <Directory /var/www/BookStack/public>  
		AllowOverride All             
		Order allow,deny             
		Allow from all             
	</Directory>
    
    Options +FollowSymLinks
		RewriteEngine On

		RewriteCond %{REQUEST_FILENAME} !-d
		RewriteCond %{REQUEST_FILENAME} !-f
		RewriteRule ^ index.php [L]


</VirtualHost>

I have been back through the dependencies and I definitely have them all installed. But whenever I go to web page I get a 400 Bad request error.

I checked the error logs in apache and all I get is this:
error.log

I have double checked permissions and the directories: storage bootstrap/cache and public are all owned by the webserver.

Originally created by @jkirkcaldy on GitHub (Jun 5, 2018). On a fresh install on Ubuntu 16.04 LTS I can't access the bookstack index page or any page for that matter. I installed using the Manual instructions on the Bookstack website. Server: Ubuntu 16.04 LTS Web Server: Apache Apache Config: ``` <VirtualHost *:80> ServerName wiki.example.com ServerAlias wiki.example.com DocumentRoot /var/www/BookStack/public <Directory /var/www/BookStack/public> AllowOverride All Order allow,deny Allow from all </Directory> Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </VirtualHost> ``` I have been back through the dependencies and I definitely have them all installed. But whenever I go to web page I get a 400 Bad request error. I checked the error logs in apache and all I get is this: [error.log](https://github.com/BookStackApp/BookStack/files/2072652/error.log) I have double checked permissions and the directories: storage bootstrap/cache and public are all owned by the webserver.
OVERLORD added the 🐕 Support label 2026-02-04 21:57:22 +03:00
Author
Owner

@mendiromania commented on GitHub (Jun 6, 2018):

not project related 😟

@mendiromania commented on GitHub (Jun 6, 2018): not project related 😟
Author
Owner

@Abijeet commented on GitHub (Jun 7, 2018):

Hi @jkirkcaldy

Sorry to hear that you are having trouble.

There are a bunch of SIGTERM's in the error log, I'm assuming these were just restarts. Are you able to run normal PHP file on the server?

@Abijeet commented on GitHub (Jun 7, 2018): Hi @jkirkcaldy Sorry to hear that you are having trouble. There are a bunch of SIGTERM's in the error log, I'm assuming these were just restarts. Are you able to run normal PHP file on the server?
Author
Owner

@ssddanbrown commented on GitHub (May 18, 2019):

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (May 18, 2019): Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#708