Apache Extras
Alias
You can find the apache configuration file for dashboard 2.0 site in
/etc/apiomat/aom-dashboard.conf
Here you can edit e.g. the Alias where the new dashboard is accessible:
modified Alias for dashboard
Change line '/dashboard "/opt/aom-dashboard/site/apiomat"' to
Alias / "/opt/aom-dashboard/site/apiomat/"
to make dashboard accessible via
http(s)://servername/
Startup problems
If you use apache < 2.4 then you must change 2 lines in configuration to look like this:
Order deny,allow
#Require all granted
Activate redirect from port apache port 80 to tomcat port 8080 via Proxy
Should be activated automatically. To enable proxying manually:
a2enmod proxy_http
a2ensite
001
-yambas
Activate redirect from port apache port 80 to tomcat port 8080 via AJP
Install Apache AJP module, e.g.
sudo a2enmod proxy proxy_ajp
Enable AJP in Tomcat if not active already (/opt/aom-yambas/server.xml):
Connector port=
"8009"
enableLookups=
"false"
redirectPort=
"8443"
protocol=
"AJP/1.3"
Change /etc/apiomat/001-yambas.conf:
<IfModule mod_proxy.c>
ProxyPreserveHost On
ProxyPass /yambas ajp:
//localhost:8009/yambas
ProxyPassReverse /yambas ajp:
//localhost:8009/yambas
...
* link only available in Enterprise Documentation