[GH-ISSUE #93] Problem to redirect url after login from an other computer / smartphone #63

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

Originally created by @kevincaradant on GitHub (Dec 17, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/93

Hi

I don't know if it's a bug or not. I tried to edit my virtual host but that work only until the login. My url to login is : 192.XXX.X.X/index.php/login. After filled my login and password. I fall up on a 404 error without index.php in the url. (192.XXX.X.X/login). Redirect wrong ?

I mention that i'm trying to connect at my koel server from an other computer in my flat. If i do, localhost:8080 on the ubuntu server , i can login and use the interface which is localhost:8080/icon_music without any problem. But from an other computer , i can't :/. Any suggestions to help me ? Thank you in advance :)

Originally created by @kevincaradant on GitHub (Dec 17, 2015). Original GitHub issue: https://github.com/koel/koel/issues/93 Hi I don't know if it's a bug or not. I tried to edit my virtual host but that work only until the login. My url to login is : 192.XXX.X.X/index.php/login. After filled my login and password. I fall up on a 404 error without index.php in the url. (192.XXX.X.X/login). Redirect wrong ? I mention that i'm trying to connect at my koel server from an other computer in my flat. If i do, localhost:8080 on the ubuntu server , i can login and use the interface which is localhost:8080/icon_music without any problem. But from an other computer , i can't :/. Any suggestions to help me ? Thank you in advance :)
kerem closed this issue 2026-02-26 02:31:59 +03:00
Author
Owner

@phanan commented on GitHub (Dec 17, 2015):

After filled my login and password. I fall up on a 404 error without index.php in the url. (192.XXX.X.X/login)

This is the expected behavior. Koel expects the URLs to be rewritten. Make sure your Apache has mod_rewrite enabled.

<!-- gh-comment-id:165408576 --> @phanan commented on GitHub (Dec 17, 2015): > After filled my login and password. I fall up on a 404 error without index.php in the url. (192.XXX.X.X/login) This is the expected behavior. Koel expects the URLs to be rewritten. Make sure your Apache has `mod_rewrite` enabled.
Author
Owner

@kevincaradant commented on GitHub (Dec 17, 2015):

Ok thanks , i activate the mod_rewrite , so now no error but white page .... after enter my login and password at http://192.XXX.X.X/login, i get a white page with the same url. :/

My virtual host if it's my bad but i don't think so :).

Inside the directory "laravel" inside "/var/www/html/" , there are all your files for koel ;)

capturetest

This is my problem with a gif :

2015-12-17_11-52-56

<!-- gh-comment-id:165416077 --> @kevincaradant commented on GitHub (Dec 17, 2015): Ok thanks , i activate the mod_rewrite , so now no error but white page .... after enter my login and password at http://192.XXX.X.X/login, i get a white page with the same url. :/ My virtual host if it's my bad but i don't think so :). Inside the directory "laravel" inside "/var/www/html/" , there are all your files for koel ;) ![capturetest](https://cloud.githubusercontent.com/assets/6093175/11867667/e1c7dac4-a4b2-11e5-87cf-8a7d94442a7e.PNG) This is my problem with a gif : ![2015-12-17_11-52-56](https://cloud.githubusercontent.com/assets/6093175/11867952/d7cdb6ea-a4b4-11e5-8190-107d8d4ce478.gif)
Author
Owner

@kevincaradant commented on GitHub (Dec 18, 2015):

Forget virtualhost just this fix my problem : php artisan serve --host 0.0.0.0

<!-- gh-comment-id:165753599 --> @kevincaradant commented on GitHub (Dec 18, 2015): Forget virtualhost just this fix my problem : php artisan serve --host 0.0.0.0
Author
Owner

@sterling commented on GitHub (Dec 19, 2015):

@kevincaradant This issue looks similar to mine: #121 See if my resolution fixes it for you.

<!-- gh-comment-id:166029675 --> @sterling commented on GitHub (Dec 19, 2015): @kevincaradant This issue looks similar to mine: #121 See if my resolution fixes it for you.
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#63
No description provided.