Closed tanghus closed 6 years ago
If you've installed Pico to the document root (e.g. /var/www/example.com/
), then is ../my/content
(i.e. /var/www/example.com/../my/content
--> /var/www/my/content/
) outside your document root and thus not part of your Virtual host. Thus you'll have to use a different domain/subdomain to access your assets. Pico generally shouldn't have any problem using a content directory outside your document root, as long as PHP doesn't prevent Pico from accessing the files (due to a open_basedir
restriction for instance).
Thanks for the fast reply :smiley: I've now set up a subdomain - assets.example.com - in which I will keep the same structure as the content. Sadly I don't have access to create subdomains outside of my allotted web-space, as I was hoping to also manage the assets in my Nextcloud instance, but this will do finely for now.
I have Pico installed in my document root but content in another directory, one level up.
In config/config.php I have
My
.htaccess
in web root:I can now access content just fine, but I can't access assets.
My site is on a shared web hosting to which I don't have shell access.
I'm using Pico 1.0.6.
Any idea what - probably obvious, if you know it - I have done wrong?