Problem With Folder Structure In Shared Hosting

Hi there!

I have a big problem with my shared hosting. I have developed my app with this folder structure:







I have asked to change domain’s document root to /frontend/www but they didn’t support this change. Is there any way to configure .htaccess and the App to work with this folder structure without changing DocumentRoot?

Thanks you

I have same folders structure and same problem.

My shared hosting has just one entry point for web projects - root folder - and i can’t change path to /root/frontend/www/ for main domain and /root/backend/www/ for admin panel. All requests goes to /root/.