tomcat - Running OpenRDF Sesame through proxied apache -


ProxyPreserveHost off ProxyRequests on ProxyPass:

  / Badge / Http://127.0.0.1:8080/ ProxyPassRover / Tomcat / http://127.0.0.1:8080/   

Calling http://example.com/ Tomcat loads my Tomcat server (expected).

Now I put the openrdf-sesame.war and openrdf-workbench.war in my webpage folder if I

  • goes.

    How can I configure base-path (like / tomcat ) in OpenRDF sesame, so does the forwarding fail?

    The easiest way to fix this is to include a sesame-specific reverse proxy in Apache configurations ( Coincidentally I use AJP, Proxy instead of http if you can - it is more efficient):

      ProxyPass / openrdf-mole AJP: //127.0.0.1: 8009 / Openrdf-mole ProxyPassReverse / openrdf-mole AJP: //127.0.0.1:8009/openrdf-sesame   

    and for Workbench:

      ProxyPass / openrdf - Workspace AJP: //127.0.0.1: 8009 / Opencard - WorkBank ProxyPreserve / OpenEdge-JobBenchAJP: //127.0.0.1: 8009 / OpenEdge-Workbench    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -