[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP/1.1 301 Moved Permanently



   Make sure you're looking in the root directory for /tmp and not in
   folder /tmp. A folder has specific meaning - it means the QDLS file
   system. Can you see the contents of the /tmp directory?

   On Mon, Nov 23, 2009 at 3:13 PM, Phil Huynh <[1]phil.huynh@xxxxxxxxx>
   wrote:

       Hello Scott,
       First of all, I would like to thank you very much for your works
     in
       open-source projects HTTPAPI and sharing your knowledge...
       About creating a debug file, in program GeoIP, a function call
       "http_debug(*ON)", which according to the documentation, should
     create
       a log contains debug info in "/tmp/httpapi_debug.txt".  However,
     I
       cannot find this log in folder /tmp and not sure where to go from
       here.
       =============================
       Regards,
       Phil
       On Mon, Nov 23, 2009 at 1:30 PM, Scott Klement
       <[1][2]sk@xxxxxxxxxxxxxxxx> wrote:
         This symptom may mean that your company has implemented a
     reverse
         proxy
         firewall type of system for security.  It may be interfering
     with
         your
         ability to connect outside of your network.
         It may also be something else.
         To find out more, please create a debug file.  Take a look at
     the
         messages it's returning to your application.   The "301" error
     by
         itself
         isn't that enlightening, but there should be a whole document
     being
         returned to you (probably in HTML with the assumption you are a
         browser)
         that explains what's happening.
         If you can't figure out the issue from the debug file, post it
     here
         (sanitize any passwords or auth keys first) and we'll take a
     look
         for you.
       Phil Huynh wrote:
       >    Hello FtpApi Forum,
       >
       >    My company has decided to look into webservices.  We are
     mainly a
       >    iSeries/System-i shop so I'm looking for a way to consume
     these
       >    webservices using ILE RPG and/or COBOL.  I searched the web
     and
       found
       >    the GeoIP example by Mr. Scott Klement.  I
     downloaded/installed
       >    LIBHTTP and compiled program GeoIP as instructed.  However
     when I
       run
       >    the program via command "call geoip parm('66.111.97.6')",
     the
       returned
       >    result is "HTTP/1.1 301 Moved Permanently".  I then tried to
     run
       some
       >    of the included example programs in LIBHTTP such as "CALL
       EXAMPLE19
       >    PARM('French' 'Where is the Eiffel Tower?')" and "CALL
     EXAMPLE18
       >    PARM('USD' 'JPY' 12.00)", all returned the same result
     "HTTP/1.1
       301
       >    Moved Permanently".  Does anyone experience the same?
       >    =============================
       >    Regards,
       >    Phil
       >

     -------------------------------------------------------------------
         ----
         This is the FTPAPI mailing list.  To unsubscribe, please go to:
         [2][3]http://www.scottklement.com/mailman/listinfo/ftpapi

     -------------------------------------------------------------------
         ----
     References
       1. mailto:[4]sk@xxxxxxxxxxxxxxxx
       2. [5]http://www.scottklement.com/mailman/listinfo/ftpapi
     -------------------------------------------------------------------
     ----
     This is the FTPAPI mailing list.  To unsubscribe, please go to:
     [6]http://www.scottklement.com/mailman/listinfo/ftpapi
     -------------------------------------------------------------------
     ----

References

   1. mailto:phil.huynh@xxxxxxxxx
   2. mailto:sk@xxxxxxxxxxxxxxxx
   3. http://www.scottklement.com/mailman/listinfo/ftpapi
   4. mailto:sk@xxxxxxxxxxxxxxxx
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
   6. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------