'Fixes' that this script will attempt
If it appears during the installation process that something is likely to cause problems or will plainly not allow the extensions to work, the script will attempt to fix the problem.
This behaviour can be supressed with the --nofix option. When used interactively the script will prompt the user before proceeding.
Specifically:
- If the currentversion link does not point to a valid installation in /usr/local/frontpage, the script will attempt to find the lastest version and link to that.
- If the required 'frontpage' and 'htaccess' modules are not installed it will enable them - although it will not automatically restart the virtual server.
- If there is an existing .htaccess file in the document root it will be backed up. fpsrvadm.exe will normally overwrite this file.
.htaccess files in subdirectories are not backed up as fpsrvadm.exe, currently, does not alter them.- The AuthName field in the generated .htaccess files is rewritten with the virtual server hostname, subserver hostname or a user specified hostname
FrontPage's normal behaviour is to use the machine's hostname- The permissions of the '/usr/local/frontpage' tree are set to ensure that all files are world readable and all executables are world executable - subject to the umask of the user the script is run as.