Sounds a bit like you hace problems with your document root. If you are running Apache check out .htaccessand how to reroute everything to your public folder.
Shared web-host displays my user's root directory?
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 or to participate in this conversation.