|
Faq-O-Matic Faq-O-Matic : Administrators' Guide : Maintain :
Moving the CGI or data files on the server |
If you need to rename your CGI within the same directory, feel free. No CGI
names are hardcoded in the Faq-O-Matic as of version 2.4.
|
If you need to move the item directory, move it, then immediately access the
install page to "Define item directory."
|
If you need to move the CGI and the meta directory together, and the meta
directory was defined relative to the directory the CGI lives in (the default),
it should have no side effects (other than the changed URL).
|
If you need to move the CGI to a new directory, and the meta directory was defined with an absolute path and is staying in the same place, then:
* move the CGI to its new location
* change 'cgiURL' to the new location in the config file (fom-meta/config)
* remove all contents from the cache directory (fom-serve/cache)
* access the install page to "Rebuild the cache and dependency files"
|
If you need to move the meta directory so that the path encoded in the CGI stub
is not correct, then:
* move the meta directory
* correct the path in the CGI
* access the FAQ immediately. All connections will attempt to run the
installer, since the FAQ will detect the inconsistency. When you reach the
install page, the installer will have updated the config file to reflect
the new meta directory.
* if your item directory lived inside your meta directory (the default),
you'll also need to "Define item directory" to reflect the new path.
|
[Append to This Answer] |