Hi, I'm trying to setup a multi domain installation, and I'm not succeeding.
I follow the documentation at http://learn.getgrav.org/advanced/multisite-setup and used the setup_subdomain.php template.
After that, I
- created the folder user/sites
- created a directory test.local
- moved directories accounts, config, data, pages, plugins and themes from user to user/sites/test.local
- created a entry in /etc/hosts for test.local
When I tried to access: http://test.local/grav, I got some errors:
- /var/www/html/grav/user/data does not exist
- /var/www/html/grav/user/pages does not exist
- /var/www/html/grav/user/plugins/error does not exist
- /var/www/html/grav/user/plugins does not exist
- /var/www/html/grav/user/themes does not exist
It's not looking at the right folders, I think that the code at setup.php should do the trick, but it doesn't:
'user' => [
'type' => 'ReadOnlyStream',
'prefixes' => [
'' => ["user/{$folder}"],
]
]
So, what's wrong?