• Subject: RE: HTTP V4R4 web server setup
  • From: "Christopher A. Libby" <clibby@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 5 Mar 2001 13:16:05 -0500
  • Importance: Normal

Okay - I've taken everyone's advice and setup a WWW directory under the IFS
ROOT folder.  But now I'm having problems trying to access files.  I believe
my CONFIG file is correct, but I'm not entirely sure.  Could someone
comment?

# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * #
# Welcome index.htm mps.as400.ntlan
# HTTP DEFAULT CONFIGURATION                                          #
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * #
#                                                                     #
#                                                                     #
#  HostName                     mps.as400.ntlan
#  HostName                     your.full.host.name                   #
#                                                                     #
#  The default port for HTTP is 80;  Should specify ports above 1024  #
#  if port 80 is not used.                                            #
#  Port                          80                                   #
#                                                                     #
   Enable                        GET
   Enable                        POST
#  Enable                        HEAD                                 #
#  Disable                       {all others}                         #
#                                                                     #
#  Map   /test/*  /as400/*                                            #
#  Pass  /as400SYS/* /QSYS.LIB/HTTPDEV.LIB/HTML.FILE/*                #
   Map   /*    /root/www/*
   Map   /CGI-BIN/*    /cgi-bin/*.PGM
   Map   /cgi-bin/*    /cgi-bin/*.PGM
   Pass  /*    /root/www/*
#  Pass  /QSYS.LIB/AS400LIB.LIB/HTML.FILE/*                           #
#  Pass  /QDLS/graphics/*                                             #
#  Fail  /QDLS/TESTING/*                                              #
#  Redirect  /some_url/*  http://some_server/some_url/*               #
#                                                                     #
#  Search             <search_script_pathname>                        #
#  Post-Script        <post_handler_pathname>                         #
#  Put-Script         <put_handler_pathname>                          #
#  Delete-Script      <delete_handler_pathname>                       #
#                                                                     #
#                                                                     #
#  Scripts; URLs starting with /cgi-bin/ will be understood as        #
#  script calls in the directory /your/script/directory.              #
  Exec  /cgi-bin/*                    /QSYS.LIB/WEBLIB.LIB/*
#                                                                     #
#                                                                     #
# *** DIRECTORY LISTINGS ***                                          #
   DirAccess                     Selective                            #
#  Welcome                       Welcome.html                         #
   Welcome                       index.html                           #
   AlwaysWelcome                 On                                   #
#  DirReadme                     Top                                  #
#  DirShowDate                   On                                   #
#  DirShowSize                   On                                   #
#  DirShowBytes                  On                                   #
#  DirShowOwner                  Off                                  #
#  DirShowDescription            On                                   #
#  DirShowMaxDescrLength         25                                   #
#                                                                     #
#  Logging; if you want logging uncomment these lines and specify     #
#  locations for your access and error logs                           #
   AccessLog /root/WWW/ACCESS.LOG
#  LogFormat                    Common                                #
#  LogTime                      LocalTime                             #
#                                                                     #
#  InputTimeOut                 2 mins                                #
#  OutputTimeOut                20 mins                               #
#  ScriptTimeOut                5 mins                                #
#                                                                     #
#                                                                     #
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * #


---------------------------------------------------------
Christopher A. Libby, Programmer/Analyst
Maine Public Service Company (www.mainepublicservice.com)
clibby@mainepublicservice.com (207) 768-5811 ext. 2210


-----Original Message-----
From: owner-web400@midrange.com [mailto:owner-web400@midrange.com]On
Behalf Of Anton Gombkötö
Sent: Monday, March 05, 2001 10:41 AM
To: WEB400@midrange.com
Subject: Re: HTTP V4R4 web server setup



>this follows the old concept of NEVER using IBM supplied libs for your own
>home-brew stuff...."unpredictable results may occur...."  :)

nice sounding rule of thumb,

but not for this case. One can't create folders (and i mean the original
folders; the "HFS") somewhere else than in QDLS.
In fact, it's quite similar to creating a library. All folders are in QDLS,
all libraries are in QSYS!

So, where are your user-created libraries? ;-)

0.02 Euro



Mit freundlichen Grüssen / best regards

Anton Gombkötö

Avenum Technologie GmbH
Wien - Mattsee - Stuttgart
e-mail Office   :       mailto:Anton.Gombkoetoe@avenum.com
Homepage        :       http://www.avenum.com

Lest das Redbook / read the redbook "Who knew you could do that with RPG?":
http://www.redbooks.ibm.com/abstracts/sg245402.html

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



Maine Public Service Company
www.mainepublicservice.com




Maine Public Service Company
www.mainepublicservice.com


+---
| This is the WEB400 Mailing List!
| To submit a new message, send your mail to WEB400@midrange.com.
| To subscribe to this list send email to WEB400-SUB@midrange.com.
| To unsubscribe from this list send email to WEB400-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:
Replies:

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

This mailing list archive is Copyright 1997-2022 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.