Subdirectory issue #287

Closed
opened 2026-02-04 18:18:50 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Stonedestroyer on GitHub (Mar 2, 2017).

For Feature Requests

Desired Feature:

For Bug Reports

  • BookStack Version: Latest clone
  • PHP Version: PHP 7.0
  • MySQL Version:
Expected Behavior

The site to work

Actual Behavior

Whoops, looks like something went wrong. I have it hosted in a directory and this is how my code looks like. I've tried without / and with.
`
Alias /bookstack "C:\software\UniServer\www\BookStack\public"
<Location /bookstack>
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
` What do I put as app url? As I tried localhost/bookstack and http://localhost/bookstack
Originally created by @Stonedestroyer on GitHub (Mar 2, 2017). ### For Feature Requests Desired Feature: ### For Bug Reports * BookStack Version: Latest clone * PHP Version: PHP 7.0 * MySQL Version: ##### Expected Behavior The site to work ##### Actual Behavior Whoops, looks like something went wrong. I have it hosted in a directory and this is how my code looks like. I've tried without / and with. ` Alias /bookstack "C:\software\UniServer\www\BookStack\public" <Location /bookstack> Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </Location> ` What do I put as app url? As I tried localhost/bookstack and http://localhost/bookstack
Author
Owner

@Stonedestroyer commented on GitHub (Mar 2, 2017):

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bookstack.users' doesn't exist (SQL: select * from users where system_name = public limit 1)

@Stonedestroyer commented on GitHub (Mar 2, 2017): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bookstack.users' doesn't exist (SQL: select * from `users` where `system_name` = public limit 1)
Author
Owner

@Stonedestroyer commented on GitHub (Mar 2, 2017):

Fixed forgot to run migrate

@Stonedestroyer commented on GitHub (Mar 2, 2017): Fixed forgot to run migrate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#287