Make sure that Apache's user has read permissions on the KDBX folder, see below. in your KeeWeb config.json file located at your installation path.conf file located at /etc/apache2/sites-available using the journalctl -xe command ( documentation).using the systemctl status apache2 command.( documentation) Troubleshooting Apache fails to restart This command will create a symbolic link ( Wikipedia) from /etc/apache2/sites-available to /etc/apache2/sites-enabled.Īs you should know, the Apache service must be restarted after changing its configuration, in order to apply it. If you configured WebDAV for the first time :Īs you should know, a newly created virtual host configuration must be enabled using the a2ensite ( "Apache 2 enable website") command, and specifiying your configuration file's name as only parameter. If you configured SSL for the first time : SSL and WebDAV are modules and must be enabled prior to applying the configuration, using the a2enmod ("Apache 2 enable module") command. Specify the path according to your web structure Specify the path according to your file system (recommended) Therefore, you need to enable it in your configuration file for the directory containing your KDBX file(s) by specifying its absolute path. If you're setting up a new domain or subdomain, you must create, in your domain provider's DNS zone, a new entry, of type A, with your server's IP address as value. Replace SSLCertificateKeyFile with your SSL private key path Replace SSLCertificateFile with your SSL public key path Replace DocumentRoot (for HTTP and HTTPS) with your KeeWeb install path Replace ServerName (for HTTP and HTTPS) with your domain/subdomain SSLCertificateKeyFile /your/private/key/path If you already have a ready-to-use domain or subdomain with HTTP and HTTPS working, you can skip this step. If you want to use an existing domain or subdomain for your KeeWeb installation : If you want to create a domain or subdomain for your KeeWeb installation : Step 3/3 - Setup Apache Create a virtual host configurationĪs you should know, Apache virtual hosts configuration files are located at /etc/apache2/sites-available. a path key, which value points to the KDBX file in your server.a name key, which value will be displayed in your app's home page.a storage key, which value will always be webdav for our use case.The files key is a list of files that can be opened out of the box, that's what we're interested in. In our use case, these features are useless, so they're all disabled. The rest defines whether the user can open files from external sources. The locale key accepts the following values to specify a theme : ![]() The theme key accepts the following values to specify a theme : The KeeWeb configuration is divided in two parts called settings (allowing to define the app's default behavior) and files (allowing to specify the default KDBX files to import). JavaScript Object Notation ( Wikipedia) is standardized data format, which, in this case, allows us to define KeeWeb's configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |