FX - Virtual host @ Application Manager @ MentDB Weak
Virtual host
app vhost add <protocol> <context> <hostname>
Description
To add a new virtual host
To add a new virtual host
Parameters
protocol: The protocol (http|https) - string - required
context: The context - string - required
hostname: The hostname - string - required
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
To show virtual hosts
Parameters
protocol: The protocol (http|https) - string - required
context: The context - string - required
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
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
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
To delete a virtual host
Parameters
protocol: The protocol (http|https) - string - required
context: The context - string - required
hostname: The hostname - string - required
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.
