[GH-ISSUE #360] https possible? #261

Closed
opened 2026-02-26 02:32:36 +03:00 by kerem · 5 comments
Owner

Originally created by @anonaut on GitHub (Jun 17, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/360

im trying to run koel via https for various reasons. i tried to follow the installation guide and get the login interface, but when i want to log in nothing happens. checking the console i get a 404 for https://server-ip/api/me

i guess that i have to run php artisan serve to get the api to work? but even then it would only be reachable with http, right?

seems like im missing something here, or is https just plain not possible/wanted?

Originally created by @anonaut on GitHub (Jun 17, 2016). Original GitHub issue: https://github.com/koel/koel/issues/360 im trying to run koel via https for various reasons. i tried to follow the installation guide and get the login interface, but when i want to log in nothing happens. checking the console i get a 404 for https://server-ip/api/me i guess that i have to run `php artisan serve` to get the api to work? but even then it would only be reachable with http, right? seems like im missing something here, or is https just plain not possible/wanted?
kerem closed this issue 2026-02-26 02:32:36 +03:00
Author
Owner

@0xcaff commented on GitHub (Jun 18, 2016):

HTTPS is definitely possible. Try using it with apache or nginx and fasctcgi.

<!-- gh-comment-id:226920138 --> @0xcaff commented on GitHub (Jun 18, 2016): HTTPS is definitely possible. Try using it with apache or nginx and fasctcgi.
Author
Owner

@daniele-athome commented on GitHub (Jun 18, 2016):

@anonaut I had that issue too when running under a subfolder (e.g. /music). Koel works only on the root folder (I had to create an ad-hoc subdomain to host it).

<!-- gh-comment-id:226935619 --> @daniele-athome commented on GitHub (Jun 18, 2016): @anonaut I had that issue too when running under a subfolder (e.g. /music). Koel works only on the root folder (I had to create an ad-hoc subdomain to host it).
Author
Owner

@anonaut commented on GitHub (Jun 18, 2016):

@daniele-athome Yeah, I read trough other issues that running from a webdir other then root folder is not possible. I already deploy koel in the root webdir of my apache installation.

I don't really understand how the routing to the api works, since there is no api folder in the webdir. should there be one?

<!-- gh-comment-id:226936209 --> @anonaut commented on GitHub (Jun 18, 2016): @daniele-athome Yeah, I read trough other issues that running from a webdir other then root folder is not possible. I already deploy koel in the root webdir of my apache installation. I don't really understand how the routing to the api works, since there is no api folder in the webdir. should there be one?
Author
Owner

@daniele-athome commented on GitHub (Jun 18, 2016):

No, it's a virtual path handled by Koel internally. It's probably server misconfiguration. If you are using Apache, ensure that your virtual host has AllowOverride enabled. If not using Apache, you should check the URL rewriting rules of your server of choice.

<!-- gh-comment-id:226936545 --> @daniele-athome commented on GitHub (Jun 18, 2016): No, it's a virtual path handled by Koel internally. It's probably server misconfiguration. If you are using Apache, ensure that your virtual host has AllowOverride enabled. If not using Apache, you should check the URL rewriting rules of your server of choice.
Author
Owner

@anonaut commented on GitHub (Jun 18, 2016):

@daniele-athome Thanks very much, i added AllowOverride All and everything worked.

<!-- gh-comment-id:226936665 --> @anonaut commented on GitHub (Jun 18, 2016): @daniele-athome Thanks very much, i added `AllowOverride All` and everything worked.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#261
No description provided.