[GH-ISSUE #326] Login 404 error #239

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

Originally created by @vladvisinescu on GitHub (May 5, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/326

I`m trying to set up Koel on a pesonal server.

All works locally but on server the login page throws a 404 error through AJAX

Not Found
The requested URL /index.php was not found on this server.

Could I have messed up my htaccess without touching it, or is there something else to look into?

Thanks :)

Originally created by @vladvisinescu on GitHub (May 5, 2016). Original GitHub issue: https://github.com/koel/koel/issues/326 I`m trying to set up Koel on a pesonal server. All works locally but on server the login page throws a 404 error through AJAX Not Found The requested URL /index.php was not found on this server. Could I have messed up my htaccess without touching it, or is there something else to look into? Thanks :)
kerem closed this issue 2026-02-26 02:32:33 +03:00
Author
Owner

@BernardGoldberger commented on GitHub (May 5, 2016):

@vladvisinescu what directory did you point you virtual host to?

<!-- gh-comment-id:217173292 --> @BernardGoldberger commented on GitHub (May 5, 2016): @vladvisinescu what directory did you point you virtual host to?
Author
Owner

@vladvisinescu commented on GitHub (May 13, 2016):

i havent done that yet. what would the right directory be ? havent done a virtual host before

<!-- gh-comment-id:218994169 --> @vladvisinescu commented on GitHub (May 13, 2016): i haven`t done that yet. what would the right directory be ? haven`t done a virtual host before
Author
Owner

@BernardGoldberger commented on GitHub (May 13, 2016):

The directory should be the root directory of koel, the specific depending on the web server you use.

For nginx follow the example config file included with Koel.

For Apache it will look something like this

<VirtualHost *:80>
        ServerName koel.mydomain.com
        DocumentRoot "/koel"
    <Directory  "/koel">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
    </Directory>
    ErrorLog "logs/koel_log"
    TransferLog "logs/koel_log"
</VirtualHost>
<!-- gh-comment-id:219077618 --> @BernardGoldberger commented on GitHub (May 13, 2016): The directory should be the root directory of koel, the specific depending on the web server you use. For nginx follow the example config file included with Koel. For Apache it will look something like this ``` <VirtualHost *:80> ServerName koel.mydomain.com DocumentRoot "/koel" <Directory "/koel"> Options Indexes FollowSymLinks MultiViews AllowOverride All </Directory> ErrorLog "logs/koel_log" TransferLog "logs/koel_log" </VirtualHost> ```
Author
Owner

@phanan commented on GitHub (May 21, 2016):

Closing due to inactivity.

<!-- gh-comment-id:220772041 --> @phanan commented on GitHub (May 21, 2016): Closing due to inactivity.
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#239
No description provided.