Andrea Bergamasco
New Pleskian
Laravel is supposed to have Apache point to ./public/, instead with Installatron version .htaccess and index.php are copied to ./ and modified.
The problem is that all assets that are supposed to go in the public folder have their path changed throughout the app: i.e. robots.txt is not accessible anymore as website.com/robots.txt but website.com/public/robots.txt
I think that to work correctly also public/ folder should be mapped in the root .htaccess in order to work correctly (hiding it), instead of needing to copy all assets to the site root: that's not how Laravel is supposed to work.
The best would be allowing open_basedir to point to httpdocs, while having apache point to httpdocs/public
The problem is that all assets that are supposed to go in the public folder have their path changed throughout the app: i.e. robots.txt is not accessible anymore as website.com/robots.txt but website.com/public/robots.txt
I think that to work correctly also public/ folder should be mapped in the root .htaccess in order to work correctly (hiding it), instead of needing to copy all assets to the site root: that's not how Laravel is supposed to work.
The best would be allowing open_basedir to point to httpdocs, while having apache point to httpdocs/public