Renaming or moving a base

The name of a base cannot be a2_ for example, as it contains a forbidden character. Base names can only contain alphanumeric characters (upper and lower case) and the character “-”. All other characters are forbidden.

Gwsetup offers a “rename” command which performs the first task (basename.gwb renaming) but not the others!

Alerting users

Once a base has been renamed, one should alert users of this fact. This is done by adding a line in the
.gwf file:

moved=new_base_name

A message indicating this new name will be displayed when accessing the base.

For this function to be effective, one must keep the mybase.gwb and mybase.gwf files.

Moving the base to a new hosting server

Beyond simple renaming, the method above allows the transfer of a base to a new hosting server. This is done by providing a full address in the moved= parameter.

moved=http://new_hosting_service/new_base_name

Note that the gwd server has a launch time parameter -redirect new_server allowing to redirect all requests to that server to the new address. This is more general as it impacts all the bases hosted by this server.

As in the previous case, for this function to be effective, the gwd server must have been launched on the old hosting service.

There exist alternative methods for traffic redirection in the HTTP world.