Difference between revisions of "rename"
(→Moving: move valid for all requests) |
m (→Moving the base to a new hosting server: remove bold) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Renaming or moving a base}} | {{DISPLAYTITLE:Renaming or moving a base}} | ||
{{languages|rename}} | {{languages|rename}} | ||
− | + | {{mbox|niveau=modéré|titre=Restriction on the names of databases|texte=The name of a database can '''only contain alphanumeric characters (upper and lowercase) and the character hyphen-minus'''.<br>All other characters are forbidden, specialy the underscore (_), the ampersand (&) and all various spaces.}} | |
− | == | ||
A GeneWeb base can be '''renamed''' through [[man|command lines]] or through [[gwsetup]]. | A GeneWeb base can be '''renamed''' through [[man|command lines]] or through [[gwsetup]]. | ||
Line 14: | Line 13: | ||
[[Gwsetup]] offers a “rename” command which performs the first task ({{c|basename.gwb}} renaming) but not the others! | [[Gwsetup]] offers a “rename” command which performs the first task ({{c|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 | ||
+ | {{c|.gwf}} file: | ||
+ | |||
+ | <nowiki>moved=new_base_name</nowiki> | ||
− | + | A message indicating this new name will be displayed when accessing the base. | |
− | + | For this function to be effective, one must keep the {{c|mybase.gwb}} and {{c|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 {{c|1=moved=}} parameter. | |
− | + | <nowiki>moved=http://new_hosting_service/new_base_name</nowiki> | |
− | + | Note that the parameter {{c|-redirect new_server}} of the [[gwd]] server allows redirecting 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. | ||
{{manual}} | {{manual}} | ||
[[Category:Manual]] | [[Category:Manual]] |
Latest revision as of 23:15, 13 March 2023
Language: | English • français |
---|
Restriction on the names of databases The name of a database can only contain alphanumeric characters (upper and lowercase) and the character hyphen-minus.
All other characters are forbidden, specialy the underscore (_), the ampersand (&) and all various spaces. |
A GeneWeb base can be renamed through command lines or through gwsetup.
Bases are kept in folders with extension .gwb
. If you change the name of this folder, your base name will be changed.
Several other files and folders have to be renamed in accordance with this new choice:
- the
basename.gwf
configuration file - the
bases/cnt/basename.txt
file maintaining a count of accesses to your base (non essential) - the folders
bases/etc/basename
,bases/image/basename
bases/src/basename
containing template files and image data for your base.
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 parameter -redirect new_server
of the gwd server allows redirecting 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.
GeneWeb Manual
- Download and install GeneWeb program under GNU/Linux, Mac OS X, Microsoft Windows, FreeBSD; on Mac OS X, Linux or Windows using Docker; or in CGI mode behind a web server.
- Understand GeneWeb server, homonym, consanguinity.
Use and manage genealogical databases
- Import Gedcom
.ged
or GeneWeb.gw
files with gwsetup or in command-line. - Update datas (add/remove individuals and families), merge duplicates, type dates.
- Use wikitext syntax, macros, keyboard shortcuts.
- Clean, recover, rename, save, archive a database.
- Merge and split multiples databases.
Technical annex
- Personalize CSS, header and trailer, templates, lexicon and declension.
- Configuration file
.gwf
(for templm), wizard notes, passwords for friends/wizards and access restrictions to databases. - Add images in notes, further remarks for experts.