Skip to main content

 Advanced

Advanced topics

Servlet: EditHostAliases

com.pageseeder.EditHostAliases

Description

Handles editing of host aliases.

HTTP method: GET

Display the list of all hosts and their aliases.

HTTP method: POST

Actually updates the hosts and their aliases on the server.

HTTP parameters

NameDescriptionRequiredTypeDefault
createIf 'yes' then the servlet will create a new host (optional)noyes|nono
newHostName of the new Host to create (required when parameter create is 'yes')maybehost
deleteIf 'yes' then the servlet will delete an existing host specified by 'host' parameter (optional)noyes|nono
modifyIf 'yes' then the servlet will modify an existing host specified by 'host' parameter (optional)noyes|nono
hostName of the current host to delete/modify or whose aliases to delete/modifymaybehost
newNameName of a new alias to create for the current host (optional)nohost
modify[id]If 'yes' the alias of the current host with ID [id] will be modified (optional)noyes|nono
name[id]New name for alias of the current host with ID [id] (optional)nohost
delete[id]If 'yes' the alias of the current host with ID [id] will be deleted (optional)noyes|nono

PageSeeder return status

invalid-parameterName already in used
errorHost still being referenced
Created on , last edited on