davidjon's avatar

https url throwing a 404 error

Hi guys,

I added a ssl certificate to a webapp i'm building and now all lumen requests return a 404 error, the only page correctly showing is the index page so behind '/', but all other urls are not working on https. On http, everything works as expected. Is there any setting I forgot to turn, to let lumen know it's routing is on a https request?

I'm not super experienced in Lumen nor Laravel, but after searching the web for a while I haven't found a solution. I'm really hoping someone can help me out here.

FYI I've found an post about Laravel Redirect All Requests To HTTPS but since I'm using the Lumen Framework I dont have the file app/filter.php, so thats probably not it.

My assets all work fine, since I moved those to the private_html folder. It's really just the request I defined in the routing.

I'd really appreciate any help. Thanks a bunch!

0 likes
1 reply
davidjon's avatar
davidjon
OP
Best Answer
Level 1

Turned out. I forgot to copy my .htaccess file to the private_html folder. Feeling kinda dumb. haha.

Can't close this discussion. But it's closed.

Please or to participate in this conversation.