To finalize the installation, use the update_webserver_conf.sh script to deploy the Apache configuration for Antidot services (acp, click, content, search) by configuring the web server.
Run the following command:
This script performs the following actions:
- Tries and detect the DocumentRoot of the web server (/var/www/html if it exists, or else /var/www).
It it fails, the following error message is displayed:
Could not update bo-portal symbolic link: no document root found (candidates were: ...)
- Creates a symbolic link named bo-portal to /usr/local/afs7/share/templates/bo-portal
- Copies the afs*.conf configuration templates from the appropriate template directories, that are /usr/local/afs7/share/templates/apache, and /usr/local/afs7/share/templates/apache/2.2 for Apache 2.2 or /usr/local/afs7/share/templates/apache/2.4 for Apache 2.4, to the web server configuration directories that are /etc/apache2/conf.d for Apache 2.2 or /etc/apache2/conf-available with a symbolic link to /etc/apache2/conf-enabled for Apache 2.4.
- Restarts the web server.
Do not use this script if custom settings are needed. The script deploys Antidot default Apache configuration.
Only apache2 versions 2.2 and 2.4 are supported.
Only the configurations necessary for the current installation are copied, the templates used being provided by the component package, e.g., antidot-afs-search, antidot-bo-server, and so on.