-
Notifications
You must be signed in to change notification settings - Fork 55
how to: install and configure (fast method)
Konrad Höffner edited this page Mar 21, 2022
·
4 revisions
git clone https://github.com/dvcama/LodView.git
cd LodView
mvn compile war:war
mvn jetty:run
suppose you have tomcat installed in /var/lib/tomcat7
cp -r target/lodview /var/lib/tomcat7/webapps
nano /var/lib/tomcat7/webapps/lodview/WEB-INF/conf.ttl
you have to configure conf:IRInamespace and conf:endpoint at least, if you have a resource like http://data.example.com/id/my_resource you have to set
conf:IRInamespace <http://data.example.com/id/>;
conf:endpoint <http://data.example.com/sparql>;
add to your site configuration file
ProxyPass /id http://localhost:8080/lodview
or better
ProxyPass /id ajp://localhost:8009/lodview
don't forget to add URIEnconding="UTF-8" to your tomcat 8080 connector (or url-charset="UTF-8" to your WildFly http-listener) if you are going to publish IRI like http://data.example.com/id/città