ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Not authorised to HTTPAdmin page

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

  • Not authorised to HTTPAdmin page

    Air of desperation! Looking for the config for the Admin instance of the 'original' http server (not Apache) at V5R1.

    Posted the message already to a couple of forums, but haven't got the solution yet. Thought I'd try my luck here, in case anyone has any ideas. I have got CGIDEV2 developed pages working fine, but this issue below still bugs me!

    I installed the HTTP Server (5722DG1), the latest group PTF SF99156-19 and the CGIDEV2 library. I am working with the original HTTP server for the moment, not Apache. The initial CGIDEV2 test pages work fine. But I cannot access the HTTPAdmin page. Going http://xxx.xxx.xx.x:2001 I get the AS/400 Tasks page fine (although the image for PPP Server is not appearing), but clicking on http://xxx.xxx.xx.x:2001/HTTPAdmin I get `Error 403 Not Authorised tothis page'.

    My profile has User Class *SECOFR and special authority *IOSYSCFG. Profiles QTMHHTP1 and QTMHHTTP have all rights to `/'. I have started the admin instance with the â??vv startup values, but looking through the joblog at the moment I don't have sufficient knowledge to figure it out! I can see lots of `Pass' statements (..did NOTmatch...) and finally a `Default Fail' stating `No Pass Rule'.

    The fact that I can see the 'AS400TASKS' page is because in my config there is the following MAP statement

    /AS400TASKS /QSYS.LIB/QSYSCGI.LIB/DB2WWW.PGM/QIBM/ProdData/HTTP/Protect/OS400/Macro/qyunmain.ndm/main0

    But I have nothing for /HTTPAdmin. All I can think is that the config has got corrupted at some point.

    Any ideas?

    Andrew

  • #2
    Re: Not authorised to HTTPAdmin page

    I remember a similar problem I had a couple years ago and this is a long shot but
    there is a userprofile QHTTP* or something close and it was disabled.

    please check that


    Jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Not authorised to HTTPAdmin page

      Cheers Jamie.

      Yes, there are the profiles QTMHHTP1 (HTTP Server CGI User Profile) and QTMHHTTP (HTTP Server User Profile) that have to be enabled and have appropriate rights.

      But I am more and more convinced that somehow my admin config is corrupted. Given that at V5R2 it is Apache only, I should be looking to moving to Apache, but at the moment it is annoying that I can't use the supplied administration interface.

      Is there anyone else out there still on V5R1, who can post the contents of QHTTPSVR/QATMHTTPI?

      Thanks

      Comment


      • #4
        Re: Not authorised to HTTPAdmin page

        Andrew,

        There is a simple config here


        I think texas As400 is on v4r5
        you could get free acount there and copy


        Jamie
        All my answers were extracted from the "Big Dummy's Guide to the As400"
        and I take no responsibility for any of them.

        www.code400.com

        Comment

        Working...
        X