I'd like to deploy a Laravel 5 app to a subdirectory of my web server root (public root being /public_html
in this case as we're using Apache). The web server already has a non-Laravel site in the root public folder.
Most questions on this topic come down to using a subdomain instead of a subdirectory, however as we're using an organisational SSL cert without subdomain coverage we cannot do this.
I realise we could still plop the non-public resources above public_html
, the public resources in a subdirectory and then hack at the paths required, but I haven't found any concrete instructions for how to achieve this. Is there a standard approach for this use case?