---
name: "oxigraph-serve-read-only"
section: "1"
platform: "linux"
package: "oxigraph"
version: "0.4.9-1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/oxigraph-serve-read-only"
---

# oxigraph-serve-read-only(1)

Start Oxigraph HTTP server in read-only mode

## NAME

oxigraph-serve-read-only - Start Oxigraph HTTP server in read-only mode

## SYNOPSIS

**oxigraph serve-read-only** \<**-l**\|**--location**\> \[**-b**\|**--bind**\] \[**--cors**\] \[**--union-default-graph**\] \[**-h**\|**--help**\]

## DESCRIPTION

Start Oxigraph HTTP server in read-only mode

It allows to read the database while other processes are also reading it. Opening as read-only while having an other process writing the database is undefined behavior.

## OPTIONS

- **-l**, **--location**=*LOCATION*

  Directory in which Oxigraph data are persisted

- **-b**, **--bind**=*BIND* \[default: localhost:7878\]

  Host and port to listen to

- **--cors**

  Allow cross-origin requests

- **--union-default-graph**

  If the SPARQL queries should look for triples in all the dataset graphs by default (ie. without \`GRAPH\` operations)

  This is equivalent as setting the union-default-graph option in all SPARQL queries

- **-h**, **--help**

  Print help (see a summary with '-h')
