Difference between revisions of "rename"
(Moving a base) |
(→Moving: move valid for all requests) |
||
Line 22: | Line 22: | ||
<nowiki>moved=http://new_server/new_base_name</nowiki> | <nowiki>moved=http://new_server/new_base_name</nowiki> | ||
− | A message indicating this new address will be displayed when accessing the base | + | A message indicating this new address will be displayed when accessing the base. |
Note that the '''[[gwd]]''' server has a launch time parameter {{c|-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. | Note that the '''[[gwd]]''' server has a launch time parameter {{c|-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. |
Revision as of 13:13, 19 January 2017
![]() |
English • français |
---|
Renaming
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!
Moving
Moving a base goes beyond renaming as it allows to change the name of the server hosting the base.
To do so, add a line in the .gwf
file containing the new full address of the base:
moved=http://new_server/new_base_name
A message indicating this new address will be displayed when accessing the base.
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.
Restrictions for base names
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.
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.