[GH-ISSUE #32] Upon redirect to the note symbol, Apache will say "Not Found" #27

Closed
opened 2026-02-26 02:31:50 +03:00 by kerem · 6 comments
Owner

Originally created by @tsubasamanda on GitHub (Dec 14, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/32

Upon placing the repo into Apache and setting it up, attempting to browse to the root, it will redirect to the music symbol like it's supposed to, but Apache won't display the music browser.

Originally created by @tsubasamanda on GitHub (Dec 14, 2015). Original GitHub issue: https://github.com/koel/koel/issues/32 Upon placing the repo into Apache and setting it up, attempting to browse to the root, it will redirect to the music symbol like it's supposed to, but Apache won't display the music browser.
kerem closed this issue 2026-02-26 02:31:51 +03:00
Author
Owner

@whachoe commented on GitHub (Dec 14, 2015):

yup. i encounter the same problem: The requested URL /♫ was not found on this server.

<!-- gh-comment-id:164519600 --> @whachoe commented on GitHub (Dec 14, 2015): yup. i encounter the same problem: The requested URL /♫ was not found on this server.
Author
Owner

@vhanla commented on GitHub (Dec 14, 2015):

Try setting a virtual host for it, or modify .htaccess
RewriteBase / to the correct path e.g. RewriteBase /koel/ however you will notice an empty page since the project's views need to be modified too, because there is no relative url for css or js scripts, e.g. resources/views/index.blade.php file you can clearly notice it is not compatible with subdirectories in url path.

<!-- gh-comment-id:164521990 --> @vhanla commented on GitHub (Dec 14, 2015): Try setting a virtual host for it, or modify .htaccess `RewriteBase /` to the correct path e.g. `RewriteBase /koel/` however you will notice an empty page since the project's views need to be modified too, because there is no relative url for css or js scripts, e.g. `resources/views/index.blade.php` file you can clearly notice it is not compatible with subdirectories in url path.
Author
Owner

@whachoe commented on GitHub (Dec 14, 2015):

That was indeed the problem. I didn't have AllowOverride All in my virtual host config so the .htaccess file was not parsed.
Thanks!

<!-- gh-comment-id:164525759 --> @whachoe commented on GitHub (Dec 14, 2015): That was indeed the problem. I didn't have `AllowOverride All` in my virtual host config so the .htaccess file was not parsed. Thanks!
Author
Owner

@tsubasamanda commented on GitHub (Dec 14, 2015):

What would I need to do to fix this problem?

<!-- gh-comment-id:164548403 --> @tsubasamanda commented on GitHub (Dec 14, 2015): What would I need to do to fix this problem?
Author
Owner

@whachoe commented on GitHub (Dec 14, 2015):

Try to put something like this in /etc/apache2/sites-enabled

<VirtualHost *:80>
        ServerName koel.local        

        XSendFilePath /data/Music        # Change to your music folder
        DocumentRoot /var/www/koel    # Change to the folder you installed koel in
        <Directory /var/www/koel>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Require all granted
        </Directory>
</VirtualHost>
<!-- gh-comment-id:164562560 --> @whachoe commented on GitHub (Dec 14, 2015): Try to put something like this in /etc/apache2/sites-enabled ``` <VirtualHost *:80> ServerName koel.local XSendFilePath /data/Music # Change to your music folder DocumentRoot /var/www/koel # Change to the folder you installed koel in <Directory /var/www/koel> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> </VirtualHost> ```
Author
Owner

@vukidrock commented on GitHub (Dec 22, 2015):

@vhanla Hi, I was edited the resources/view/index.blade.php and resources/view/auth/login.blade.php with URL of app folder from <form method="post" action="/login" to <form method="post" action="koel/login" , the login page show up with informations fully (logo, form) but when I click to login button, the console log show errors, something like that:

http://mywebsite/public/build/css/vendors-f9a37709f1.css
http://mywebsite/public/build/css/app-b9d02655ca.css
http://mywebsite/public/build/js/vendors-99cbf2751a.js
http://mywebsite/public/build/js/main-e6326a8774.js

check #134 and help me

<!-- gh-comment-id:166549094 --> @vukidrock commented on GitHub (Dec 22, 2015): @vhanla Hi, I was edited the `resources/view/index.blade.php` and `resources/view/auth/login.blade.php` with URL of app folder from `<form method="post" action="/login"` to `<form method="post" action="koel/login"` , the login page show up with informations fully (logo, form) but when I click to login button, the console log show errors, something like that: ``` http://mywebsite/public/build/css/vendors-f9a37709f1.css http://mywebsite/public/build/css/app-b9d02655ca.css http://mywebsite/public/build/js/vendors-99cbf2751a.js http://mywebsite/public/build/js/main-e6326a8774.js ``` check #134 and help me
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#27
No description provided.