I run grapdb as a standalone server. The service starts on http://localhost:7200. I need to configure an Apache redirect to graphDB workbench, to access it through port 80 :
ProxyPass /graphdb http://localhost:7200
ProxyPassReverse /graphdb http://localhost:7200
However, when accessing http://server/graphdb, all the loading of CSS and javascript fails because they are loaded from http://server/css/x, or http://server/webjars/y, instead of http://server/graphdb/css/x or http://server/graphdb/webjars/y.
Is it possible to access GraphDB workbench behind an Apache proxy and what would be the correct configuration for this ?
At present this is possible only if the root of both the external (Apache) and internal (GraphDB) side is the same. In your case the external one is /graphdb and the internal one is /. We've planned support for specifying an explicit external URL in GraphDB 7.1. As a temporary workaround you can create an Apache redirect of the kind:
ProxyPass / http://localhost:7200
ProxyPassReverse / http://localhost:7200
and assign it to a separate virtual host, e.g. graphdb.your-domain.xx, that will be used only to access GraphDB.