× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: http server--linking welcome page to other files
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Tue, 13 Jul 1999 09:26:26 -0700

We're playing around with the HTTP server in hopes of actually using it (not
just resume padding.)  So far we've managed to serve the welcome page and
execute several simple cgi programs.  Where we haven't had any success is
linking the welcome page with any other html files on the same 400--the link
to the IBM web site works fine.  Clicking on the links gives an error 403.
We can link the welcome page to cgi scripts.  There's something simple we're
missing.  If anyone knows the answer, you have my permission to prefix the
response with something condescending or insulting. <g>  Thanks in advance.

Here's a copy of the HTTP config file.

# * * * * * * * * * * * * * * * * * * * * * * * * * * *
   Welcome    welcome.html
#    AS/400 Internet Connection Server Configuration
# * * * * * * * * * * * * * * * * * * * * * * * * * * *
#-----------------------------------------------------
Port       80
#-----------------------------------------------------
Enable       GET
Enable       HEAD
Enable       POST
Enable       OPTIONS
Enable       TRACE
Enable       CONNECT
#

   Redirect  /wsg    http://hostname:5061/WSG

   Map /cgi-bin/db2www/* /QSYS.LIB/CGIBIN.LIB/DB2WWW.PGM/*
   Map /CGI-BIN/DB2WWW/* /QSYS.LIB/CGIBIN.LIB/DB2WWW.PGM/*
   Exec  /QSYS.LIB/CGIBIN.LIB/*
#
    pass  /      /www/welcome.html
    pass  /      /www/*.html
    pass  /root/*  /www/*
    pass  /root/*  /www/*.html

--------------
BindSpecific       Off
UserID       %%SERVER%%
DNS-Lookup       On
Imbeds   On   html
AlwaysWelcome       On
DirAccess       On
UserDir       BWH
Service /servlet/* /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService*
Service /*.jhtml /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService
Service /*.shtml /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService
ServerInit /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterInit
/QIBM/UserData/HTTPSVR/ServletExpress/CONFIG/properties/server/ncf/ncfservic
e/jvm.properties
ServerTerm /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterExit
AddClient    .Mozilla    Mozilla/2.*


Joel Fritz x1568
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.