Shared web-host displays my user's root directory?

Posted 4 months ago by Friendifie

Hi there, Apparently my shared web-host wasn't running my Lumen API but I got it working... But, I'm experiencing one more problem and I don't know how to fix it. I think it's rooted into the Lumen project itself?

Is as quoted from my dead post related to a problem getting Lumen to run on my shared web-host:

https://laracasts.com/discuss/channels/lumen/lumen-works-on-shared-web-host-but-isnt-working :

Apparently I got it working now but it's forcing/showing my shared web-hosts path, I don't like that. It's a huge security risk for me. It's like:

https://api.mysite.com/home/myusername/public_html/another_folder/NewBlog/NewBlog

When I go to the root "/" it takes me to "/NewBlog" then once I replace the "NewBlog" it set with my route "status" or "test" it'll display their results on the screen.

Any advice? Thanks!

Please help me resolved this issue asap. Thanks!

Please sign in or create an account to participate in this conversation.