Scott,
Thanks for the detailed instructions....
Take care
Jimmy
Scott Klement <[EMAIL PROTECTED]> wrote:
Through the ADMIN interface:
a) Point your browser at http://myiseries.example.com:2001 and sign in
with a profile that has authority to change the HTTP server's config.
b) Click "IBM Web Administration for iSeries"
c) In the "Server" drop down box, select the one that you want to change.
d) Click "URL Mapping" (in the navigation frame on the left)
e) Click "Add".
f) In the first column, pull down the list of choices and pick "Script
Alias Match" (this is what the EXEC keyword in the old config file did)
g) In the second column, type /cgi-bin/(.*)
h) In the third column, type /qsys.lib/cgi_bin.lib/$1.pgm
i) Click "Continue" to add that new rule to the list.
j) Click Apply to apply it to the config file.
k) There are buttons at the top of the browser window that you can use to
restart the server and activate the changes. Alternately, you can use
iSeries Navigator or the command-line tools (STRTCPSVR/ENDTCPSVR) to
restart the server.
Without using the ADMIN interface:
You can also edit the server's config file manually. IT's just a text
file stored in the IFS under
/www/apachedft/conf/httpd.conf
(Replace "apachedft" in the IFS path, above, with the name of your HTTP
server instance.)
For example, I can change it from a 5250 session by typing:
EDTF STMF('/www/apachedft/conf/httpd.conf')
In your situation, you want to add a line to the config file that looks
like this:
ScriptAlias /cgi-bin/(.*) /qsys.lib/cgi_bin.lib/$1.pgm
Once you've made your changes and saved them, you'll need to restart the
server (as always.)
To me, editing it manually in the text file is more similar to the old
WRKHTTPCFG interface than going through the admin tool. The web interface
is certainly more user friendly, however.
---
Scott Klement http://www.scottklement.com
On Wed, 16 Nov 2005, jimmy octane wrote:
>
> Sorry for newbie question Ive been away from CGI for a couple
> years. Thank you in advance for the help.
>
> In the old days I could WRKHTTPCFG and enter this
>
> Exec /cgi-bin/* /QSYS.LIB/CGI_BIN.LIB/*.PGM %%EBCDIC%%
>
> How can I do this now in V5R3 through the HTTPAdmin page?
>
> Jimmy
Yahoo! FareChase - Search multiple travel sites in one click.
YAHOO! GROUPS LINKS
- Visit your group "Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
