Install Laravel5 side by side with October cms
I’d like to know if it is possible and if so how to have OctoberCMS (which is built on Laravel) and Laravel5 installed to the same domain but the different installs served by different urls.
I’ll try and explain
OctoberCMS - this is the public facing website and back-end CMS for the website
Laravel App - this is my in house developed office management and client area app
I have my virtual host set up and the website/October is accessible and all routes work ok
mydomain.com/* -> public_html = October CMS - which will serve whichever pages are on the website e.g mydomain.com/about etc.
There 2 routes which I want handled by my Laravel app
mydomain.com/office/* -> public_html/office/public = Laravel app mydomain.com/client/* -> public_html/office/public = Laravel app
How do I go about setting my virtual host or .htaccess to make this happen
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.