The sample directory based configuration files shipped with Webulator/400 should help you better understand how you can configure Webulator/400 to best suit your needs. The following sections described the shipped configuration files and how you can view and change them.
You can use this directory based configuration file by setting the ACCGBLFILE
parameter of the CHGWWWCFG command to /WWWServ/Cfg/WblMAcc.cfg.
You can view or change the configuration settings by running the
WRKWWWDIR command and selecting option 10 for the
/*META/WEBULATOR/ directory or directly using the
CHGWBLCFG command.
The root directory has the following value set:
SIGNON) *SCREEN
If you prefer, the file /WWWServ/Cfg/WblMAcc.cfg can be edited directly with a stream file editor. The following lines are equivalent to the configuration described above
<Directory /*META/WEBULATOR/> Signon Screen </Directory>
You can use this directory based configuration file by setting the ACCGBLFILE
parameter of the CHGWWWCFG command to /WWWServ/Cfg/WblBAcc.cfg.
You can view or change the configuration settings by running the
WRKWWWDIR command and selecting
option 10 for the /*META/WEBULATOR/ directory or directly using the
CHGWBLCFG command.
The root directory has the following values set:
SIGNON) *SCREEN
MENUTYPE) *IMAGE '/icons/menuitem.gif'
TERMCOLOR) *COLOR
TERMSIZE) *BIG
TERMTIME) 15
You can view or change the parsing strings by running the
WRKWWWDIR command and selecting
option 8 for the /*META/WEBULATOR/ directory or directly using the
WRKWBLPRS command.
The root directory has the following parsing strings defined:
If you prefer, the file /WWWServ/Cfg/WblBAcc.cfg can be edited directly with a stream file editor. The following lines are equivalent to the configuration described above
<Directory /*META/WEBULATOR/> Signon Screen MenuType Image /icons/menuitem.gif TermSize Big TermColor Color TermTimeout 15 ParsedButton DESCRIPTION F1 F1 ParsedButton DESCRIPTION F2 F2 ParsedButton DESCRIPTION F3 F3 ParsedButton DESCRIPTION F4 F4 ParsedButton DESCRIPTION F5 F5 ParsedButton DESCRIPTION F6 F6 ParsedButton DESCRIPTION F7 F7 ParsedButton DESCRIPTION F8 F8 ParsedButton DESCRIPTION F9 F9 ParsedButton DESCRIPTION F10 F10 ParsedButton DESCRIPTION F11 F11 ParsedButton DESCRIPTION F12 F12 ParsedButton DESCRIPTION F13 F13 ParsedButton DESCRIPTION F14 F14 ParsedButton DESCRIPTION F15 F15 ParsedButton DESCRIPTION F16 F16 ParsedButton DESCRIPTION F17 F17 ParsedButton DESCRIPTION F18 F18 ParsedButton DESCRIPTION F19 F19 ParsedButton DESCRIPTION F20 F20 ParsedButton DESCRIPTION F21 F21 ParsedButton DESCRIPTION F22 F22 ParsedButton DESCRIPTION F23 F23 ParsedButton DESCRIPTION F24 F24 ParsedButton DESCRIPTION Enter Enter ParsedButton DESCRIPTION Enter ENTER </Directory>
http://www.xyz.com/www5250/
http://www.xyz.com/www5250/1/
http://www.xyz.com/www5250/1/a/
http://www.xyz.com/www5250/1/b/
This example shows the hierarchical nature of URLs which is the foundation for directory
based configuration inheritance. In the above example, the first URL is the Webulator/400
root URL and therefore has no parent URL. The second URL can inherent directory entries from
the first URL (Parent URL). Both the third and forth URL can inherit from the second URL
(Parent URL ) as well as the first URL (Grandparent URL). Note that there is no inheritance
between the third and forth URLs.
You can use this directory based configuration file by setting the ACCGBLFILE
parameter of the CHGWWWCFG command to /WWWSRV/CFG/WBLIACC.CFG.
You can view or change the configuration settings for each of the directory entries by running the WRKWWWDIR command and selecting option 10 for the desired directory entry or directly using the CHGWBLCFG command.
Please note that this configuration file has four directory entries that correspond to the URLs shown above. The names of the directory entries are as follows:
/*META/WEBULATOR/
/*META/WEBULATOR/1/
/*META/WEBULATOR/1/A/
/*META/WEBULATOR/1/B/
The /*META/WEBULATOR/ directory has the following values set:
SIGNON) *USEAUTHENTICATION
TERMSIZE) *BIG
The /*META/WEBULATOR/1/ directory has the following value set:
SIGNON) *SCREEN (Overrides Parent's Entry)
The /*META/WEBULATOR/1/A/ directory has the following value set:
TERMSIZE) *SMALL (Overrides Grandparent's Entry)
The /*META/WEBULATOR/1/B/ directory has the following value set:
TERMCOLOR) *COLOR
If you prefer, the file /WWWServ/Cfg/WblIAcc.cfg can be edited directly with a stream file editor. The following lines are equivalent to the configuration described above
<Directory /*META/WEBULATOR/> Signon UseAuthentication TermSize Big </Directory> <Directory /*META/WEBULATOR/1/> Signon Screen </Directory> <Directory /*META/WEBULATOR/1/a/> TermSize Small </Directory> <Directory /*META/WEBULATOR/1/b/> TermColor Color </Directory>