====== Baikal ======
===== Installation =====
==== Apache ====
=== .htaccess (for shared webhosting) ===
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]
===== Troubleshooting ====
==== Incomplete installation ====
>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;
}
==== 404 ====
Document Root has to be `./html`!
==== LogicExceptionRequested uri (/dav.php) is out of base uri (/html/dav.php/) ====
Solution: remove ''PROJECT_BASEURI .'' from the paths specified in ''/admin''.
==== Baïkal was not able to establish a connexion to the configured MySQL database (as configured in Specific/config.system.php). ====
=== in docker ===
MySQL extension for php is not installed.
docker exec -it baikal_php_1 docker-php-ext-install pdo_mysql