How to host Laravel application in a sufolder along with normal php application?
How to host Laravel application in a sufolder along with normal php application? I have a laravel application and a normal application. I want the normal application to run when user opens example.com/ but when the user opens example.com/laravel_application/ I want the laravel application to run. How can I achieve this. I tried various methods like creating symlinks but I seem to be always redirected to root directory ( example.com/ ) e.g. when I open example.com/laravel_application/login I am open to using apache or nginx. example.com/ example.com/laravel_application/ example.com/ example.com/laravel_application/login 3 Answers 3 It's easier to add a subdomain for Laravel app. Otherwise, you will have to create Laravel routes based on the example.com/laravel_app path. There are two solutions: Create .htaccess file on sub-folder where you put your laravel application. and add the code in .htac...