Put this file in your domain's docroot:
RewriteEngine on RewriteCond %{HTTP_HOST} ^baikal.example.com$ [NC,OR] RewriteCond %{REQUEST_URI} !html/ RewriteRule .well-known/carddav /dav.php [R,L] RewriteRule .well-known/caldav /dav.php [R,L] RewriteRule (.*) /html/$1 [L]
On some web hosting installations (e.g. Netcup) you have to add another rule to rewrite the trailing slash:
RewriteRule ^dav.php/ /dav.php [L]
Baïkal dependencies have not been installed. Please, execute "composer install" in the folder where you installed Baïkal.'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; # Bootstraping Flake \Flake\Framework::bootstrap(); # Bootstrapping Baïkal \Baikal\Framework::bootstrap(); ?>
Remove from nginx configuration:
types { text/html html htm shtml php php5; }
Document Root has to be `./html`!
Solution: remove PROJECT_BASEURI .
from the paths specified in /admin
.
MySQL extension for php is not installed.
docker exec -it baikal_php_1 docker-php-ext-install pdo_mysql