02.05.2013 Views

MKS Implementer 2006 Administration Guide

MKS Implementer 2006 Administration Guide

MKS Implementer 2006 Administration Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To access the HTTP configuration file<br />

Web-based Development for IFS Objects<br />

Issue the Work with HTTP Configuration (WRKHTTPCFG) command as follows. You must<br />

have authority to the command to edit the file.<br />

WRKHTTPCFG CONFIG<br />

To implement server-based security protection<br />

Within the HTTP Configuration file, add the following server protection directives. <strong>MKS</strong><br />

recommends you add the server directive entries near the beginning of the file.<br />

#Protect the Web interface program<br />

Protection IM {<br />

PasswdFile %%SYSTEM%%<br />

ACLOverride Off<br />

Mask All@*<br />

AuthType Basic<br />

ServerID <strong>Implementer</strong><br />

UserID %%SERVER%%<br />

}<br />

Protect /cgi-bin/imweb IM<br />

To enable the method directives<br />

Within the configuration file, enable the GET, HEAD, and POST method directives as follows:<br />

# ***METHOD DIRECTIVES***<br />

Enable GET<br />

Enable HEAD<br />

Enable POST<br />

To define the mapping directives<br />

The browser integration requires an entry in the configuration file to establish the directory<br />

location of your <strong>Implementer</strong> interface programs. If you installed the HTTP Server when you<br />

installed the iSeries system, IBM supplied a default and a sample HTTP configuration file<br />

already configured and enabled. In this case, you may need to change the default settings<br />

rather than add new ones.<br />

The default location is the <strong>Implementer</strong> product library <strong>MKS</strong>IM. Specify <strong>MKS</strong>IM unless the<br />

library name was changed when <strong>Implementer</strong> was installed.<br />

Add the following mapping directive to the configuration file:<br />

# ***MAPPING DIRECTIVES***<br />

Exec/cgi-bin/* /QSYS.LIB/<strong>MKS</strong>IM.LIB/*.PGM %%EBCDIC%%<br />

157

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!