#-----------------------------------------------------------------
# Please add the following HTTP directives to the
# configuration file of an existing HTTP instance.
#
# To display the utility manual:
# http://.../chgpwd/html/page1.htm
#
# To start the utility:
# http://.../chgpwd
# or
# http://.../chgpwdp/chgpwd.pgm
#
#-----------------------------------------------------------------
ScriptAliasMatch ^/chgpwd$ /qsys.lib/chgpwd.lib/chgpwd.pgm
ScriptAliasMatch /chgpwdp/(.*) /qsys.lib/chgpwd.lib/$1
Options +ExecCgi
CgiConvMode %%EBCDIC/EBCDIC%%
Require all granted
Alias /chgpwd/ /chgpwd/
Options None
Require all granted
AuthType Basic
AuthName "CGI utility to change password"
PasswdFile %%SYSTEM%%
UserID %%CLIENT%%
Require valid-user