• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Installatron breaks Laravel structure

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
 
Back
Top