Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Default config file.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Default config file.

    The Webmaster manual does't give very good examples. Can anyone either post or email me with an example of a working HTTP Default Config file so I can see what I am doing wrong? I keep getting the 403 error, forbidden by rules. TIA Just trying to keep up....

  • #2
    Default config file.

    On Thursday, August 13, 1998, 07:31 AM, Jeff Importico wrote: The Webmaster manual does't give very good examples. Can anyone either post or email me with an example of a working HTTP Default Config file so I can see what I am doing wrong? I keep getting the 403 error, forbidden by rules.
    Ok, so I am serving Web pages, linking to other pages in the same directory of /QOpenSys/*....but I want to run DB2WWW too, I am at a loss and the manuals are not much help. I read all these posts about CGI programs are you guys serving them via a browser? I can't seem to get the config file right to run anything from my Qsys.lib/Mylib.lib/mypgm.pgm. Somebody

    color=red>HELP

    Comment


    • #3
      Default config file.

      On Thursday, August 20, 1998, 01:45 PM, Jeff Importico wrote: On Thursday, August 13, 1998, 07:31 AM, Jeff Importico wrote: The Webmaster manual does't give very good examples. Can anyone either post or email me with an example of a working HTTP Default Config file so I can see what I am doing wrong? I keep getting the 403 error, forbidden by rules.
      Ok, so I am serving Web pages, linking to other pages in the same directory of /QOpenSys/*....but I want to run DB2WWW too, I am at a loss and the manuals are not much help. I read all these posts about CGI programs are you guys serving them via a browser? I can't seem to get the config file right to run anything from my Qsys.lib/Mylib.lib/mypgm.pgm. Somebody

      color=red>HELP

      Do you have pass statements in the HTTP config for MYLIB?
       PASS /QSYS.LIB/MYLIB.LIB/* 
      Remember, it IS case sensitive. So if you are using IFS to access the library structure, all caps are needed unless you have some map statements. Like This: target=_new href="http://xxx.xxx.x.xx/QSYS.LIB/MYLIB.LIB/MYPGM.PGM"> target=_new href="http://xxx.xxx.x.xx/QSYS.LIB/MYLIB.LIB/MYPGM.PGM">http://xxx.xxx.x.xx/QSY S.LIB/MYLIB.LIB/MYPGM.PGM Don't forget the:
       STRTCPSVR SERVER(*HTTP) RESTART(*HTTP) 
      command after changing the HTTP configuration. HREF="http://prairie.lakes.com/~bvstone/"> SRC="http://prairie.lakes.com/~bvstone/images/sig.gif">

      Comment


      • #4
        Default config file.

        On Thursday, August 20, 1998, 03:05 PM, Bradley V. Stone wrote: On Thursday, August 20, 1998, 01:45 PM, Jeff Importico wrote: Do you have pass statements in the HTTP config for MYLIB? PASS /QSYS.LIB/MYLIB.LIB/* Remember, it IS case sensitive. So if you are using IFS to access the library structure, all caps are needed unless you have some map statements. Like This: href="http://xxx.xxx.x.xx/QSYS.LIB/MYLIB.LIB/MYPGM.PGM"> href="http://xxx.xxx.x.xx/QSYS.LIB/MYLIB.LIB/MYPGM.PGM">http://xxx.xxx.x.xx/QSY S.LIB/MYLIB.LIB/MYPGM.PGM Don't forget the: STRTCPSVR SERVER(*HTTP) RESTART(*HTTP) command after changing the HTTP configuration.
        Thanks for the assistance everyone.....I finally have it up and running and even got the MAcro examples working. Now I get to have fun learning to write HTML and SQL Pgms......... Just trying to keep up....

        Comment


        • #5
          Default config file.

          Oh, One more thing. Can someone tell me why a particular .GIF file displays on one page, but when referenced from another page doesn't actually display? Some of my images when referenced just come up with a little box and nothing else. Any Ideas? Just trying to keep up....

          Comment


          • #6
            Default config file.

            I tried it both ways. But I assumed I was doing something wrong with the Path. Just trying to keep up....

            Comment


            • #7
              Default config file.

              I, also, am trying to set up a web page on my AS/400. We are at version 4.1. I followed the instruction given by the *ADMIN pages and i still get the error 403 This is my HTTP CONFIG file on my AS/400
               # * * * * * * * * * * * * * * * * * * * * * * Welcome welcome.htm AlwaysWelcome On DirAccess On MAP /* /drhttp/* PASS /drhttp/* 
              This is the File "welcome.htm" in directory "drhttp"
               < HTML 
              < HEAD < TITLE SAMPLE DOCUMENT FROM THE AS/400 HTTP SERVER< /TITLE > < /HEAD < BODY < H1 >AS/400 HTTP SERVER< /H1 > < P > THIS DOCUMENT IS SERVED BY THE AS/400 HTTP SERVER !!!. < /BODY < /HTML
              I then typed STRTCPSVR SERVER(*HTTP) but i still get the error 403 if i do not specify the :2001 The profil QTMHTTP has *ALLOBJ autority. Any suggestion, help ?

              Comment


              • #8
                Default config file.

                On Friday, August 21, 1998, 10:41 AM, Jeff Importico wrote: Oh, One more thing. Can someone tell me why a particular .GIF file displays on one page, but when referenced from another page doesn't actually display? Some of my images when referenced just come up with a little box and nothing else. Any Ideas? Just trying to keep up....
                Are you talking HTML here?? if so the GIFs have to be in the same directory as the HTML page... if not, go ../GIF_directory/some.gif. also, remember you might be dealing with a case sensitive thing.. ......
                 

                Bob Hamilton TEXAS BUSINESS SYSTEMS 736 Pinehurst Richardson, Texas 75080

                Comment

                Working...
                X