The file format is OPTION=VALUE
Between the OPTION , the = and the VALUE are no spaces.
You can comment out any OPTION or completely remove the related setting line to use the default settings.
In the MAPFILE setting the environment variables %USERNAME%, %USERPROFILE%, %ProgramFiles%, %ProgramFiles(x86)%, %APPDATA%, %INSTALLDIR%, and %INSTALLDRIVE% can be used.
Where the %INSTALLDIR% variable contains the base directory and the %INSTALLDRIVE% the drive letter (including :) or the UNC server name of the WA2L/WinTools package installation.
Example: MAPFILE=G:\central_config\redirect2web.map
Default: MAPFILE=etc\redirect2web.cfg
See also: VIEWER= setting below and viewer field in redirect2web.map(4).
In the PATH and VIEWER setting the environment variables %USERNAME%, %USERPROFILE%, %ProgramFiles%, %ProgramFiles(x86)%, %APPDATA%, %INSTALLDIR%, and %INSTALLDRIVE% can be used.
Where the %INSTALLDIR% variable contains the base directory and the %INSTALLDRIVE% the drive letter (including :) or the UNC server name of the WA2L/WinTools package installation.
Example: PATH=%USERPROFILE%\Documents\bin\FirefoxPortable;%INSTALLDRIVE%\bin\FirefoxPortable
Default: PATH=
See also: viewer field in redirect2web.map(4).
Example: VIEWER=FirefoxPortable.exe
Default: VIEWER=iexplore.exe
Example: SEPARATOR=!
Default: SEPARATOR=;
Example: ABORTONERROR=True
Default: ABORTONERROR=False
# # redirect2web.cfg - configuration file for redirect2web # # [00] 09.06.2017 CWa Initial Version # # Locate the map file on a central file share to # avoid redistribution to clients on change. # MAPFILE=G:\central_config\redirect2web.map # Extend %PATH% to the FireFox browser location # In the PATH setting the environment variables %USERNAME%, # %USERPROFILE%, %ProgramFiles%, %ProgramFiles(x86)%, # %APPDATA% and %INSTALLDIR% can be used. # PATH=%USERPROFILE%\Documents\bin\FirefoxPortable;d:\bin\FirefoxPortable # Set FireFox browser as viewer. # VIEWER=FirefoxPortable.exe
This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.