INNOV-AI

Innovation and Research from Réunion Island, France

Back   Home

FX - Virtual host @ Application Manager @ MentDB Weak

> Start the server
> (or start the server for the first time (embedded mode - H2 Database))
> (or start the server for the first time (remote mode - MySQL 8 Database))
> Open the MentDB Weak Editor

Virtual host
app vhost addapp vhost showapp vhost existapp vhost delete

app vhost add <protocol> <context> <hostname>


Description

    To add a new virtual host

Parameters

    protocol:   The protocol (http|https) - string - required
    context:   The context - string - required
    hostname:   The hostname - string - required
admin
app vhost add "http" "demo" "www.jpayet.re";
mentdb
1

app vhost show <protocol> <context>


Description

    To show virtual hosts

Parameters

    protocol:   The protocol (http|https) - string - required
    context:   The context - string - required
admin
app vhost show "http" "demo";
mentdb
{"www.jpayet.re": "demo"}

app vhost exist <protocol> <context> <hostname>


Description

    To check if a virtual host already exist

Parameters

    protocol:   The protocol (http|https) - string - required
    context:   The context - string - required
    hostname:   The hostname - string - required
admin
app vhost exist "http" "demo" "www.jpayet.re"
mentdb
1

app vhost delete <protocol> <context> <hostname>


Description

    To delete a virtual host

Parameters

    protocol:   The protocol (http|https) - string - required
    context:   The context - string - required
    hostname:   The hostname - string - required
admin
app vhost delete "http" "demo" "www.jpayet.re";
mentdb
1
admin
app delete "http" "demo";
mentdb
Application deleted with successful.
start: 2026-02-02   end: 2026-02-02   v_start: 401   v_end: