This is a continuation of the following article.

This is a memo on configuring redirects so that accessing URLs like https://xxx.abc/data/123 redirects to https://xxx.abc/?describe=https://xxx.abc/data/123, using Japan Search’s RDF store as a reference.

Japan Search example:

Create a conf file like the following and place it in the appropriate location (e.g., /etc/httpd/conf.d/).

RRReeewwwrrriiittteeeECRnougnlidene%{oHnT(TdPa_tAaC|CeEnPtTi}ty)*/t.e*x)t/hhtttmpls://xxx.abc/?describe=https://xxx.abc/$1[L,R=303]

Then restart Apache.

systemctlrestarthttpd

This enables redirecting to the Snorql interface.