💾 Archived View for gmi.sbgodin.fr › htmgem › docs › installation-en.gmi captured on 2022-03-01 at 15:15:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-06-14)

-=-=-=-=-=-=-

HtmGem, installation

To run HtmGem — after having copied the files — there is nothing to do but to add the URL rewriting rules.

Prerequisites

Installation

Download

Stable version

Project repository

Nginx

# This text must be placed in the server's configuration
index index.gmi index.php index.html
rewrite ^(.+\.gmi)$ htmgem/index.php?rw=1&url=$1;

Apache

# This text can be placed at the root of the web site in a file ".htaccess".
DirectoryIndex index.gmi index.php index.html
RewriteEngine on
RewriteRule ^(.+\.gmi)$ htmgem/index.php?rw=1&url=$1

Afterwards,

How to build GemText pages?

Advanced configuration

Add additional styles as a link parameter or adapt the text decoration:

Advanced configuration