{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2009/11/20/linking-two-virtuoso-instances-to-one.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/zgafr-mre81",
      "url": "https://chem-bla-ics.linkedchemistry.info/2009/11/20/linking-two-virtuoso-instances-to-one.html",
      "title": "Linking two Virtuoso instances to one Apache server",
      "content_html": "<p><a href=\"http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/\">Virtuoso</a> comes with its own web front end, but I did not want to make that public.\nAdditionally, I actually have two instances running, one for the <a href=\"http://www.gnu.org/copyleft/fdl.html\">GNU FDL</a>\nlicensed <a href=\"https://chem-bla-ics.linkedchemistry.info/2009/09/04/nmrshiftdb-enters-rdfopenmoleculesnet-2.html\">NMRShiftDB <i class=\"fa-solid fa-recycle fa-xs\"></i></a>\ndata, and one for the CC0 <a href=\"https://chem-bla-ics.linkedchemistry.info/2009/11/19/chempedia-rdf-1-sparql-end-point.html\">ChemPedia <i class=\"fa-solid fa-recycle fa-xs\"></i></a> and\n<a href=\"https://chem-bla-ics.linkedchemistry.info/2009/11/19/open-notebook-science-solubility-sparql.html\">Solubility <i class=\"fa-solid fa-recycle fa-xs\"></i></a> data sets.</p>\n\n<p>So, I used <a href=\"http://httpd.apache.org/docs/2.0/mod/mod_proxy.html\">Apache’s proxy module</a> linking to two Virtuoso instances.\nThese two are set up by just duplicating a data based folder and to have it use two <em>virtuoso.ini</em> config files. Modify one\nof two config files to have them run on a different port in the Parameters section, for example 1198 and 1199:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>[Parameters]\nServerPort                      = 1199\n</code></pre></div></div>\n\n<p>And assign a different server ports in the HTTPServer section, such as 2290 and 2291:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>[HTTPServer]\nServerPort                      = 2291\n</code></pre></div></div>\n\n<p>Then modify the <em>/etc/apache2/mods-enabled/proxy.conf</em> (or whatever equivalent on your system) to have two sections creating two URL rewrites proxying the request to the virtuoso server:</p>\n\n<div class=\"language-plaintext highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code>&lt;Proxy /nmrshiftdb/sparql&gt;\n  RewriteEngine On\n  Allow from all\n  ProxyPass        http://localhost:2290/sparql\n  ProxyPassReverse http://localhost:2290/sparql\n&lt;/Proxy&gt;\n\n&lt;Proxy /cc0/sparql&gt;\n  RewriteEngine On\n  Allow from all\n  ProxyPass        http://localhost:2291/sparql\n  ProxyPassReverse http://localhost:2291/sparql\n&lt;/Proxy&gt;\n</code></pre></div></div>",
      "summary": "Virtuoso comes with its own web front end, but I did not want to make that public. Additionally, I actually have two instances running, one for the GNU FDL licensed NMRShiftDB data, and one for the CC0 ChemPedia and Solubility data sets.",
      
      "date_published": "2009-11-20T00:00:00+00:00",
      "date_modified": "2026-05-05T00:00:00+00:00",
      "tags": ["virtuoso","apache"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
