php - Best way to manage folder access with laravel -


in domain when reach url www.mydomain.com/app/ load app content , list folders , files presents inside can access controller files.php

i believed laravel provided these actions didn't.

i think should edit apache conf or add .htaccess in each folder or redirect user laravel while accessing these "routes".

but don't think 1 of these solution good. may know better ?

you have keep contents of public folder (not folder, contents in www or public_html) , rest folders 1 level under /home/app, home/vendor etc


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -