This file is indexed.

/usr/share/doc/ocsigenserver/manual-wiki/rewritemod.wiki is in ocsigenserver-doc 2.4.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
=Rewritemod=

Rewritemod allows to rewrite the requests.It is available from Ocsigen version 1.2. It is really basic for now, but for most uses you don't need it, as staticmod and others already have sophisticated configuration features. It is in beta version. Submit your bugs and feature wishes [[https://github.com/ocsigen/ocsigenserver|here]].

To use that extension, first load it from the configuration file:
{{{
<extension findlib-package="ocsigenserver.ext.rewritemod"/>
}}}
Then configure your hosts as in this example:
{{{
<rewrite regexp="(.*)" url="toto/\1"/>
}}}
The syntax of regular expression is PCRE's one.