Giter Club home page Giter Club logo

Comments (6)

vhanla avatar vhanla commented on May 11, 2024 1

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.

from koel.

whachoe avatar whachoe commented on May 11, 2024

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

from koel.

whachoe avatar whachoe commented on May 11, 2024

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

from koel.

tsubasamanda avatar tsubasamanda commented on May 11, 2024

What would I need to do to fix this problem?

from koel.

whachoe avatar whachoe commented on May 11, 2024

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>

from koel.

vukidrock avatar vukidrock commented on May 11, 2024

@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

from koel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.