Closed dawidmachon closed 2 years ago
Everything has advantages and disadvantages - and the primary disadvantage of a public_html
folder is that it won't work on a lot of managed webhosting services, because you often can't configure the document root. That's why we can't make this the default and the reason why most CMS still use the "old" approach.
However, switching to a public_html
approach for Pico is no hard thing to do, simply move index.php
, plugins
, themes
and assets
to a public_html
folder and edit the paths in Pico's index.php
(and possibly the paths in config/config.yml
) to match your setup.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
I will attach there for your investigation a small quote - (context: serving pico in web server):
What do you think about that? Maybe it will be smart to rework things and repack them to subdirectory? I am not a specialist in web security, I am only pasting a clever note. ;)