Skip to content

Reverse Proxy for Virtuoso

Michel Dumontier edited this page Jan 16, 2016 · 3 revisions
<VirtualHost *:80>
  ServerName  bio2rdf.org
  ServerAlias *.bio2rdf.org

  ErrorLog     logs/bio2rdf-errors_log
  CustomLog    logs/bio2rdf-access_log combined

  DocumentRoot /srv/website
  <Directory "/srv/website">
    Options +FollowSymLinks -MultiViews
    DirectoryIndex index.html
    AllowOverride none
    Require all granted
  </Directory>

  ProxyPass /styles http://localhost:8890/fct/rdfdesc/styles
  ProxyPassReverse /styles http://localhost:8890/fct/rdfdesc/styles
  ProxyPass /describe/styles http://localhost:8890/fct/rdfdesc/styles
  ProxyPassReverse /describe/styles http://localhost:8890/fct/rdfdesc/styles
  ProxyPass /describe http://localhost:8890/describe
  ProxyPassReverse /describe http://localhost:8890/describe
  ProxyPass /fct http://localhost:8890/fct
  ProxyPassReverse /fct http://localhost:8890/fct
  ProxyPass /sparql http://localhost:8890/sparql
  ProxyPassReverse /sparql http://localhost:8890/sparql
  ProxyPassMatch "^/([^:]+):(.*)$" "http://bio2rdf.org/describe/?uri=http://bio2rdf.org/$1:$2" nocanon

</VirtualHost>

Clone this wiki locally