SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Oracle iPlanet Webserver
  Request Processing Flow -
          Samples
Topics Covered

•    Request Processing Stages – Summary
•    Processing the Request for the file Present in Document Root
•    Processing the Web Application Request
•    Processing the Oracle Weblogic server plugin request
•    Processing the Reverse Proxy Request




NOTE: I have included the Request Processing and the Execution of Directives to the best of my
Understanding and Knowledge.

If there are any discrepancies, please feel free to share with me.
Request Processing Stages - Execution
      Phase   Default be   Directives                  Comments
               forced      Executed
AuthTrans        N/A           All
NameTrans        Yes       Only One     Either the matched directive or default.
PathCheck        N/A          All       All PathCheck directives are processed.
Object Type      Yes          All       After a MIME attribute has been set, it
                                        cannot be changed.
Input            N/A          All       All matched directives are processed.
Output           N/A          All       All matched directives are processed.
Route            N/A       Only One     Matched Directive will be processed.
Service          Yes       Only One     Either the matched directive or default.
Error            N/A          All
Log              N/A          All       All Directives are processed
Processing the Request
 for the file Present in
    Document Root
obj.conf file
<Object name="default">
      AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
      PathCheck fn="uri-clean"
      PathCheck fn="check-acl" acl="default"                                           AuthTrans
      PathCheck fn="find-pathinfo"
      PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
                                                                                       NameTrans
      ObjectType fn="type-by-extension"
      ObjectType fn="force-type" type="text/plain"
      Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"   PathCheck
      Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
      Service method="TRACE" fn="service-trace"                                        ObjectType
      AddLog fn="flex-log"
</Object>
<Object name="es-internal">
                                                                                       Input
               PathCheck fn="check-acl" acl="es-internal"
</Object>                                                                              Output
<Object name="cgi">
      ObjectType fn="force-type" type="magnus-internal/cgi"                            Route
      Service fn="send-cgi"
</Object>
<Object name="send-precompressed">                                                     Service
               PathCheck fn="find-compressed"
</Object>                                                                              AddLog
<Object name="compress-on-demand">
               Output fn="insert-filter" filter="http-compression"
                                                                                       Error
</Object>
Auth                Name                  Path            Object
                                                                                   Input         Output        Route       Service   Error            Log
         Trans               Trans                Check             Type
match-browser

                   pfx2dir
                                                                       close the TCP/IP session after SSL Communications
                                                                       were completed in older versions of IE Browwsers
                document-root

                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                              index-common

                                                                                                send-file

                                                                                             service-trace
                                                                                                                                             AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth              Name                  Path            Object
                                                                                   Input         Output         Route         Service   Error            Log
          Trans             Trans                Check             Type
match-browser

                  pfx2dir                                             Replaces a directory prefix in the requested URL with
                                                                      a real directory name.
                document-root                                         Evaluated, but not true
                                    check-acl

                                     uri-clean

                                 find-pathinfo

                                    find-index

                                                          type-by-
                                                         extension

                                                         force-type
                                                                                              index-common

                                                                                                send-file

                                                                                             service-trace
                                                                                                                                                AddLog

                   ALT           es-internal



                   ALT                    cgi



                   ALT              send-
                                precompressed



                   ALT                             compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input        Output         Route        Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir                                             Processing falls into the default case.
                                                                       File location path is the Concatenation of Document
                document-root                                          root directory and URI from the request.
                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                              index-common

                                                                                                send-file

                                                                                              service-trace
                                                                                                                                               AddLog

                    ALT          es-internal



                    ALT                    cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input        Output       Route   Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir
                                                                       Updates the ACL for this instance.
                document-root

                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                               index-common

                                                                                                 send-file

                                                                                              service-trace
                                                                                                                                        AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input          Output         Route      Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir
                                                                       URI did not contain any potential security risks so
                                                                       processing continues.
                document-root

                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                                index-common

                                                                                                  send-file

                                                                                               service-trace
                                                                                                                                               AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input         Output         Route          Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir
                                                                       URI did not contain any extra path information, so the
                                                                       PATH_INFO variable was not populated
                document-root

                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                               index-common

                                                                                                 send-file

                                                                                              service-trace
                                                                                                                                                  AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input        Output         Route      Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir
                                                                       The requested resource was not a directory so the
                                                                       resource path information remains unaltered.
                document-root

                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                 find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                              index-common

                                                                                                send-file

                                                                                              service-trace
                                                                                                                                             AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input        Output         Route          Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir                                             The mime.types file defined in the server.xml is
                                                                       evaluated. The server locates an extension of
                document-root                                          requested file and sets the Content-Type accordingly.
                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                               index-common

                                                                                                 send-file

                                                                                              service-trace
                                                                                                                                                 AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                     Input         Output          Route        Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir                                             The type has already been defined and force-type
                                                                       does not set enc or lang attributes. This directive is
                document-root                                          processed, but no changes occur.
                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                                index-common

                                                                                                  send-file

                                                                                                service-trace
                                                                                                                                                  AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input         Output          Route         Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir                                             This Directive matches the ObjectType Directives set
                                                                       earlier. The send-file SAF is used to process and send
                document-root                                          the file to the client.
                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                                index-common

                                                                                                  send-file

                                                                                               service-trace
                                                                                                                                                  AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input         Output          Route          Service   Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir
                                                                       The access log is updated to reflect the client request
                                                                       and subsequent server response.
                document-root

                                     check-acl

                                      uri-clean

                                 find-pathinfo

                                     find-index

                                                           type-by-
                                                          extension

                                                          force-type
                                                                                                index-common

                                                                                                  send-file

                                                                                               service-trace
                                                                                                                                                   AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed



                   ALT                              compress-on-demand
Auth               Name                  Path            Object
                                                                             Input      Output       Route   Service     Error            Log
          Trans              Trans                Check             Type
match-browser

                   pfx2dir


                document-root                                               Directives Processed
                                     check-acl

                                      uri-clean
                                                                               for a file from
                                 find-pathinfo

                                     find-index
                                                                              Document Root
                                                           type-by-
                                                          extension

                                                          force-type
                                                                                     index-common

                                                                                       send-file

                                                                                     service-trace
                                                                                                                                 AddLog

                   ALT           es-internal



                   ALT                     cgi



                   ALT              send-
                                precompressed                                                                Executed Successfully
                                                                                                             Evaluated, but not true

                   ALT                              compress-on-demand                                       Not Evaluated
Processing the
Web Application
    Request
Auth                Name                  Path               Object
                                                                                    Input          Output       Route      Service                Error            Log
         Trans               Trans                Check                Type
match-browser
            nametrans-j2ee

                   pfx2dir                                             close the TCP/IP session after SSL Communications
                                                                       were completed in older versions of IE Browwsers
                document-root
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                   ALT              send-
                                precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output       Route         Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir
                                                                       Determines whether the requested resource maps to
                                                                       content that is hosted in a Java web application. It
                document-root                                          turns out to be true.
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                        error-j2ee
                                                                                                                                                             AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output         Route      Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir                                             URI did not contain any potential security risks so
                                                                       processing continues.
                document-root
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                       error-j2ee
                                                                                                                                                            AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output       Route          Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir
                                                                       URI did not contain any extra path information (found
                                                                       after the filename) so the PATH_INFO variable was
                document-root                                          not populated
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                         error-j2ee
                                                                                                                                                              AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output         Route        Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir
                                                                       Implements welcome file processing for Java web
                                                                       applications. It acts on URIs that map to directories
                document-root                                          within the Java web application
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                         error-j2ee
                                                                                                                                                              AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output       Route      Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir                                             The requested resource was not a directory so the
                                                                       resource path information remains unaltered.
                document-root
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                  find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path            Object
                                                                                    Input          Output       Route         Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                nametrans-j2ee

                   pfx2dir
                                                                       May set the value of the Content-Type request header
                                                                       field when the request URI maps to a resource in a
                document-root                                          Java web application.
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                        error-j2ee
                                                                                                                                                             AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output         Route     Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir
                                                                       This directive is processed, but no changes occur.
                document-root
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                      error-j2ee
                                                                                                                                                           AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                     Input          Output         Route        Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir
                                                                       The type has already been defined and force-type
                                                                       does not set enc or lang attributes. This directive is
                document-root                                          processed, but no changes occur.
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                 index-common
                                                                                                   send-file
                                                                                                 service-trace
                                                                                                                                          error-j2ee
                                                                                                                                                               AddLog
                     ALT                                                          service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output         Route     Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir                                             Processes requests for resources in Java web
                                                                       applications and returns a response to the client.
                document-root
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                      error-j2ee
                                                                                                                                                           AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                    Input          Output         Route          Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir                                             The access log is updated to reflect the client request
                                                                       and subsequent server response.
                document-root
                                     check-acl

                                      uri-clean
                                  find-pathinfo
                                 find-index-j2ee
                                     find-index
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                           error-j2ee
                                                                                                                                                                AddLog
                     ALT                                                         service-j2ee



                    ALT              es-internal


                    ALT                     cgi



                    ALT              send-
                                 precompressed


                    ALT                             compress-on-demand
Auth               Name                  Path               Object
                                                                                  Input          Output       Route   Service                Error            Log
          Trans              Trans                Check                Type
match-browser
                nametrans-j2ee

                   pfx2dir

                document-root
                                     check-acl
                                                                                Directives Processed
                                      uri-clean
                                  find-pathinfo
                                                                               for a Web Application
                                 find-index-j2ee
                                     find-index
                                                                                      Request
                                                          type-j2ee

                                                           type-by-
                                                          extension
                                                          force-type
                                                                                              index-common
                                                                                                send-file
                                                                                              service-trace
                                                                                                                                error-j2ee
                                                                                                                                                     AddLog
                     ALT                                                       service-j2ee



                    ALT              es-internal


                    ALT                     cgi

                                                                                                                      Executed Successfully
                    ALT              send-
                                 precompressed                                                                        Evaluated, but not true

                                                                                                                      Not Evaluated
                    ALT                             compress-on-demand
Processing the
Oracle Weblogic
Server Request
obj.conf file
<Object name="default">
     AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true“
     NameTrans fn="pfx2dir" from="/mc-icons" dir="/myinstance/lib/icons" name="es-internal"
     NameTrans fn=“assign-name" from=“/test” name=“MyAppServer“                           AuthTrans
     NameTrans fn="document-root" root=“my-instance/docs"
     PathCheck fn="uri-clean"                                                             NameTrans
     PathCheck fn="check-acl" acl="default"
     PathCheck fn="find-pathinfo"                                                         PathCheck
     PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
     ObjectType fn="type-by-extension"
                                                                                          ObjectType
     ObjectType fn="force-type" type="text/plain"
     Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
     Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
                                                                                          Input
     Service method="TRACE" fn="service-trace"
     Error fn="error-j2ee"                                                                Output
     AddLog fn="flex-log"
</Object>                                                                                 Route
<Object name=“MyAppServer">
             Service fn=”wl_proxy” WebLogicHost=192.168.100.1 WebLogicPort=8010           Service
</Object>
                                                                                      AddLog
<Object name="es-internal">
            PathCheck fn="check-acl" acl="es-internal"
</Object>
                                                                                      Error
Auth                Name                  Path            Object
                                                                                   Input         Output        Route       Service                Error            Log
         Trans               Trans                Check             Type
match-browser
                assign-name

                   pfx2dir                                             close the TCP/IP session after SSL Communications
                                                                       were completed in older versions of IE Browwsers
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                              index-common
                                                                                                send-file
                                                                                             service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog


                     ALT
                                                                                  wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                 es-internal
Auth               Name                  Path            Object
                                                                                    Input         Output           Route   Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir
                                                                       Process the directives in a named object.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                               index-common
                                                                                                 send-file
                                                                                              service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog


                     ALT
                                                                                   wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input         Output         Route         Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir
                                                                       Replaces a directory prefix in the requested URL with
                                                                       a real directory name.
                document-root                                          Evaluated, but not true
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                               index-common
                                                                                                 send-file
                                                                                              service-trace
                                                                                                                                         error-j2ee
                                                                                                                                                              AddLog


                     ALT
                                                                                   wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input        Output         Route        Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                 assign-name

                   pfx2dir
                                                                       Processing falls into the default case.
                                                                       File location path is the Concatenation of Document
                document-root                                          root directory and URI from the request.
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                              index-common
                                                                                                send-file
                                                                                              service-trace
                                                                                                                                       error-j2ee
                                                                                                                                                            AddLog


                     ALT
                                                                                  wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input        Output       Route   Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir
                                                                       Updates the ACL for this instance.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                               index-common
                                                                                                 send-file
                                                                                              service-trace
                                                                                                                                error-j2ee
                                                                                                                                                     AddLog


                     ALT
                                                                                  wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input          Output         Route      Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir                                             URI did not contain any potential security risks so
                                                                       processing continues.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                               service-trace
                                                                                                                                       error-j2ee
                                                                                                                                                            AddLog


                     ALT
                                                                                   wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input         Output         Route          Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir                                             URI did not contain any extra path information, so the
                                                                       PATH_INFO variable was not populated
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                               index-common
                                                                                                 send-file
                                                                                              service-trace
                                                                                                                                          error-j2ee
                                                                                                                                                               AddLog


                     ALT
                                                                                   wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input        Output         Route      Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir                                             The requested resource was not a directory so the
                                                                       resource path information remains unaltered.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                 find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                              index-common
                                                                                                send-file
                                                                                              service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog


                     ALT
                                                                                  wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input        Output         Route          Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir
                                                                       The mime.types file defined in the server.xml is
                                                                       evaluated. The server locates an extension of
                document-root                                          requested file and sets the Content-Type accordingly.
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                               index-common
                                                                                                 send-file
                                                                                              service-trace
                                                                                                                                         error-j2ee
                                                                                                                                                              AddLog


                     ALT
                                                                                  wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                     Input         Output          Route        Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir
                                                                       The type has already been defined and force-type
                                                                       does not set enc or lang attributes. This directive is
                document-root                                          processed, but no changes occur.
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                                service-trace
                                                                                                                                          error-j2ee
                                                                                                                                                               AddLog


                     ALT
                                                                                   wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input        Output         Route      Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir                                             Delegated to serve dynamic pages, such as JSPs or
                                                                       pages generated by Weblogic server.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                              index-common
                                                                                                send-file
                                                                                              service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog


                     ALT
                                                                                  wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                                    Input         Output          Route          Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir                                             The access log is updated to reflect the client request
                                                                       and subsequent server response.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                index-common
                                                                                                  send-file
                                                                                               service-trace
                                                                                                                                           error-j2ee
                                                                                                                                                                AddLog


                     ALT
                                                                                   wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal
Auth               Name                  Path            Object
                                                                              Input        Output       Route   Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                assign-name

                   pfx2dir

                document-root                                                Directives Processed
                                     check-acl

                                      uri-clean                             for a Oracle Weblogic
                                 find-pathinfo
                                     find-index                                 Server Request
                                                           type-by-
                                                          extension
                                                          force-type
                                                                                        index-common
                                                                                          send-file
                                                                                        service-trace
                                                                                                                          error-j2ee
                                                                                                                                               AddLog


                     ALT
                                                                             wl-proxy
                   MyAppServer


                   ALT
                                     check-acl
                  es-internal                                                                                   Executed Successfully
                                                                                                                Evaluated, but not true

                                                                                                                Not Evaluated
Processing the
Reverse Proxy
   Request
obj.conf file
<Object name="default">
     AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true“
     NameTrans fn=“map" from=“/test” name=“MyAppServer“ to=“http:/Test/”
     NameTrans fn="pfx2dir" from="/mc-icons" dir="/myinstance/lib/icons" name="es-internal"   AuthTrans
     NameTrans fn="document-root" root=“my-instance/docs"
     PathCheck fn="uri-clean"                                                                 NameTrans
     PathCheck fn="check-acl" acl="default"
     PathCheck fn="find-pathinfo"                                                             PathCheck
     PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
     ObjectType fn="type-by-extension"
                                                                                              ObjectType
     ObjectType fn="force-type" type="text/plain"
     Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
     Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
                                                                                              Input
     Service method="TRACE" fn="service-trace"
     Error fn="error-j2ee"                                                                    Output
     AddLog fn="flex-log"
</Object>                                                                                     Route
<Object name=“MyAppServer">
    Route fn="set-origin-server" server=http://localhost:8080/                                Service
</Object>
<Object ppath="http:*">                                                                       AddLog
     Service fn="proxy-retrieve" method="*"
</Object>
<Object name="es-internal">
                                                                                              Error
     PathCheck fn="check-acl" acl="es-internal"
</Object>
Auth                Name                  Path            Object
                                                                                    Input            Output       Route    Service                Error            Log
         Trans               Trans                Check             Type
match-browser
                    map

                   pfx2dir                                             close the TCP/IP session after SSL Communications
                                                                       were completed in older versions of IE Browwsers
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                  index-common
                                                                                                    send-file
                                                                                                  service-trace
                                                                                                                                     error-j2ee
                                                                                                                                                          AddLog


                     ALT
                                                                                proxy-retrieve
                     http:*


                    ALT                                                       set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Auth               Name                  Path            Object
                                                                                     Input            Output        Route           Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                    map

                   pfx2dir
                                                                       looks for a certain URL prefix in the URL that the
                                                                       client is requesting. If map finds the prefix, it replaces
                document-root                                          the prefix with the mirror site prefix. Evaluated True.
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                   index-common
                                                                                                     send-file
                                                                                                   service-trace
                                                                                                                                              error-j2ee
                                                                                                                                                                   AddLog


                     ALT
                                                                                 proxy-retrieve
                     http:*


                    ALT                                                        set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Auth              Name                  Path            Object
                                                                                   Input             Output       Route       Service                Error            Log
          Trans             Trans                Check             Type
match-browser
                    map

                  pfx2dir
                                                                      Replaces a directory prefix in the requested URL with
                                                                      a real directory name.
                document-root                                         Evaluated, but not true
                                    check-acl

                                     uri-clean
                                 find-pathinfo
                                    find-index



                                                          type-by-
                                                         extension
                                                         force-type
                                                                                                  index-common
                                                                                                    send-file
                                                                                                  service-trace
                                                                                                                                        error-j2ee
                                                                                                                                                             AddLog


                     ALT
                                                                               proxy-retrieve
                     http:*


                    ALT                                                       set-origin-server

                  MyAppServer



                    ALT
                                     check-acl
                   es-internal
Auth               Name                  Path            Object
                                                                                    Input             Output       Route     Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                    map

                   pfx2dir                                             URI did not contain any potential security risks so
                                                                       processing continues.
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                   index-common
                                                                                                     send-file
                                                                                                   service-trace
                                                                                                                                       error-j2ee
                                                                                                                                                            AddLog


                     ALT
                                                                                proxy-retrieve
                     http:*


                    ALT                                                        set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Auth               Name                  Path            Object
                                                                                    Input             Output       Route        Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                    map

                   pfx2dir                                             URI did not contain any extra path information, so the
                                                                       PATH_INFO variable was not populated
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                   index-common
                                                                                                     send-file
                                                                                                   service-trace
                                                                                                                                          error-j2ee
                                                                                                                                                               AddLog


                     ALT
                                                                                proxy-retrieve
                     http:*


                    ALT                                                        set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Auth               Name                 Path            Object
                                                                                   Input            Output       Route    Service                Error            Log
          Trans              Trans               Check             Type
match-browser
                    map

                   pfx2dir                                            The requested resource was not a directory so the
                                                                      resource path information remains unaltered.
                document-root

                                     check-acl

                                     uri-clean
                                 find-pathinfo
                                 find-index



                                                          type-by-
                                                         extension
                                                         force-type
                                                                                                 index-common
                                                                                                   send-file
                                                                                                 service-trace
                                                                                                                                    error-j2ee
                                                                                                                                                         AddLog


                     ALT
                                                                               proxy-retrieve
                     http:*


                    ALT                                                      set-origin-server

                  MyAppServer



                    ALT
                                     check-acl
                   es-internal
Auth               Name                  Path            Object
                                                                                    Input            Output       Route        Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                    map

                   pfx2dir
                                                                       The mime.types file defined in the server.xml is
                                                                       evaluated. The server locates an extension of
                document-root                                          requested file and sets the Content-Type accordingly.
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                  index-common
                                                                                                    send-file
                                                                                                  service-trace
                                                                                                                                         error-j2ee
                                                                                                                                                              AddLog


                     ALT
                                                                                proxy-retrieve
                     http:*


                    ALT                                                       set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Auth               Name                  Path            Object
                                                                                     Input            Output       Route        Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                    map

                   pfx2dir
                                                                       The type has already been defined and force-type
                                                                       does not set enc or lang attributes. This directive is
                document-root                                          processed, but no changes occur.
                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                   index-common
                                                                                                     send-file
                                                                                                   service-trace
                                                                                                                                          error-j2ee
                                                                                                                                                               AddLog


                     ALT
                                                                                 proxy-retrieve
                     http:*


                    ALT                                                        set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Auth               Name                  Path            Object
                                                                                    Input            Output       Route   Service                Error            Log
          Trans              Trans                Check             Type
match-browser
                    map

                   pfx2dir                                             distributes the load across a set of homogeneous
                                                                       HTTP origin servers
                document-root

                                     check-acl

                                      uri-clean
                                 find-pathinfo
                                     find-index



                                                           type-by-
                                                          extension
                                                          force-type
                                                                                                  index-common
                                                                                                    send-file
                                                                                                  service-trace
                                                                                                                                    error-j2ee
                                                                                                                                                         AddLog


                     ALT
                                                                                proxy-retrieve
                     http:*


                    ALT                                                       set-origin-server

                  MyAppServer



                    ALT
                                      check-acl
                   es-internal
Iplanet request processing-samples
Iplanet request processing-samples
Iplanet request processing-samples
Iplanet request processing-samples

Weitere ähnliche Inhalte

Ähnlich wie Iplanet request processing-samples

04 darwino concepts and utility classes
04   darwino concepts and utility classes04   darwino concepts and utility classes
04 darwino concepts and utility classesdarwinodb
 
Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)ukdpe
 
Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2zhang hua
 
2010 10 provxg_datagovuk
2010 10 provxg_datagovuk2010 10 provxg_datagovuk
2010 10 provxg_datagovukJun Zhao
 
Infrastructure as Code - Terraform - Devfest 2018
Infrastructure as Code - Terraform - Devfest 2018Infrastructure as Code - Terraform - Devfest 2018
Infrastructure as Code - Terraform - Devfest 2018Mathieu Herbert
 
How to collect Big Data into Hadoop
How to collect Big Data into HadoopHow to collect Big Data into Hadoop
How to collect Big Data into HadoopSadayuki Furuhashi
 
Application Integration with XProc
Application Integration with XProcApplication Integration with XProc
Application Integration with XProcVojtech Toman
 
Ogce Workflow Suite Tg09
Ogce Workflow Suite Tg09Ogce Workflow Suite Tg09
Ogce Workflow Suite Tg09smarru
 
Tracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracingTracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracingHemant Kumar
 
Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Timothy Spann
 
(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP
(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP
(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEPBIOVIA
 
End-to-end Data Governance with Apache Avro and Atlas
End-to-end Data Governance with Apache Avro and AtlasEnd-to-end Data Governance with Apache Avro and Atlas
End-to-end Data Governance with Apache Avro and AtlasDataWorks Summit
 
ElasticSearch, Elastica, ElasticaBundle
ElasticSearch, Elastica, ElasticaBundleElasticSearch, Elastica, ElasticaBundle
ElasticSearch, Elastica, ElasticaBundleNicolas Badey
 

Ähnlich wie Iplanet request processing-samples (20)

Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
 
04 darwino concepts and utility classes
04   darwino concepts and utility classes04   darwino concepts and utility classes
04 darwino concepts and utility classes
 
Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)Mike Taulty OData (NxtGen User Group UK)
Mike Taulty OData (NxtGen User Group UK)
 
Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2
 
2010 10 provxg_datagovuk
2010 10 provxg_datagovuk2010 10 provxg_datagovuk
2010 10 provxg_datagovuk
 
HTTP
HTTPHTTP
HTTP
 
Validating a json in mule
Validating a json in muleValidating a json in mule
Validating a json in mule
 
Infrastructure as Code - Terraform - Devfest 2018
Infrastructure as Code - Terraform - Devfest 2018Infrastructure as Code - Terraform - Devfest 2018
Infrastructure as Code - Terraform - Devfest 2018
 
How to collect Big Data into Hadoop
How to collect Big Data into HadoopHow to collect Big Data into Hadoop
How to collect Big Data into Hadoop
 
Fluentd meetup at Slideshare
Fluentd meetup at SlideshareFluentd meetup at Slideshare
Fluentd meetup at Slideshare
 
SVN Hook
SVN HookSVN Hook
SVN Hook
 
Application Integration with XProc
Application Integration with XProcApplication Integration with XProc
Application Integration with XProc
 
Ogce Workflow Suite Tg09
Ogce Workflow Suite Tg09Ogce Workflow Suite Tg09
Ogce Workflow Suite Tg09
 
JSOP in 60 seconds
JSOP in 60 secondsJSOP in 60 seconds
JSOP in 60 seconds
 
Tracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracingTracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracing
 
Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020
 
(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP
(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP
(ATS4-PLAT05) Accelrys Catalog: A Search Index for AEP
 
End-to-end Data Governance with Apache Avro and Atlas
End-to-end Data Governance with Apache Avro and AtlasEnd-to-end Data Governance with Apache Avro and Atlas
End-to-end Data Governance with Apache Avro and Atlas
 
Fluentd meetup in japan
Fluentd meetup in japanFluentd meetup in japan
Fluentd meetup in japan
 
ElasticSearch, Elastica, ElasticaBundle
ElasticSearch, Elastica, ElasticaBundleElasticSearch, Elastica, ElasticaBundle
ElasticSearch, Elastica, ElasticaBundle
 

Kürzlich hochgeladen

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 

Kürzlich hochgeladen (20)

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 

Iplanet request processing-samples

  • 1. Oracle iPlanet Webserver Request Processing Flow - Samples
  • 2. Topics Covered • Request Processing Stages – Summary • Processing the Request for the file Present in Document Root • Processing the Web Application Request • Processing the Oracle Weblogic server plugin request • Processing the Reverse Proxy Request NOTE: I have included the Request Processing and the Execution of Directives to the best of my Understanding and Knowledge. If there are any discrepancies, please feel free to share with me.
  • 3. Request Processing Stages - Execution Phase Default be Directives Comments forced Executed AuthTrans N/A All NameTrans Yes Only One Either the matched directive or default. PathCheck N/A All All PathCheck directives are processed. Object Type Yes All After a MIME attribute has been set, it cannot be changed. Input N/A All All matched directives are processed. Output N/A All All matched directives are processed. Route N/A Only One Matched Directive will be processed. Service Yes Only One Either the matched directive or default. Error N/A All Log N/A All All Directives are processed
  • 4. Processing the Request for the file Present in Document Root
  • 5. obj.conf file <Object name="default"> AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true" PathCheck fn="uri-clean" PathCheck fn="check-acl" acl="default" AuthTrans PathCheck fn="find-pathinfo" PathCheck fn="find-index" index-names="index.html,home.html,index.jsp" NameTrans ObjectType fn="type-by-extension" ObjectType fn="force-type" type="text/plain" Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" PathCheck Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Service method="TRACE" fn="service-trace" ObjectType AddLog fn="flex-log" </Object> <Object name="es-internal"> Input PathCheck fn="check-acl" acl="es-internal" </Object> Output <Object name="cgi"> ObjectType fn="force-type" type="magnus-internal/cgi" Route Service fn="send-cgi" </Object> <Object name="send-precompressed"> Service PathCheck fn="find-compressed" </Object> AddLog <Object name="compress-on-demand"> Output fn="insert-filter" filter="http-compression" Error </Object>
  • 6. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir close the TCP/IP session after SSL Communications were completed in older versions of IE Browwsers document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 7. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir Replaces a directory prefix in the requested URL with a real directory name. document-root Evaluated, but not true check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 8. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir Processing falls into the default case. File location path is the Concatenation of Document document-root root directory and URI from the request. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 9. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir Updates the ACL for this instance. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 10. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir URI did not contain any potential security risks so processing continues. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 11. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir URI did not contain any extra path information, so the PATH_INFO variable was not populated document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 12. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir The requested resource was not a directory so the resource path information remains unaltered. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 13. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir The mime.types file defined in the server.xml is evaluated. The server locates an extension of document-root requested file and sets the Content-Type accordingly. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 14. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir The type has already been defined and force-type does not set enc or lang attributes. This directive is document-root processed, but no changes occur. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 15. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir This Directive matches the ObjectType Directives set earlier. The send-file SAF is used to process and send document-root the file to the client. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 16. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir The access log is updated to reflect the client request and subsequent server response. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 17. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser pfx2dir document-root Directives Processed check-acl uri-clean for a file from find-pathinfo find-index Document Root type-by- extension force-type index-common send-file service-trace AddLog ALT es-internal ALT cgi ALT send- precompressed Executed Successfully Evaluated, but not true ALT compress-on-demand Not Evaluated
  • 19. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir close the TCP/IP session after SSL Communications were completed in older versions of IE Browwsers document-root check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 20. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir Determines whether the requested resource maps to content that is hosted in a Java web application. It document-root turns out to be true. check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 21. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir URI did not contain any potential security risks so processing continues. document-root check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 22. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir URI did not contain any extra path information (found after the filename) so the PATH_INFO variable was document-root not populated check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 23. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir Implements welcome file processing for Java web applications. It acts on URIs that map to directories document-root within the Java web application check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 24. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir The requested resource was not a directory so the resource path information remains unaltered. document-root check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 25. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir May set the value of the Content-Type request header field when the request URI maps to a resource in a document-root Java web application. check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 26. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir This directive is processed, but no changes occur. document-root check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 27. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir The type has already been defined and force-type does not set enc or lang attributes. This directive is document-root processed, but no changes occur. check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 28. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir Processes requests for resources in Java web applications and returns a response to the client. document-root check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 29. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir The access log is updated to reflect the client request and subsequent server response. document-root check-acl uri-clean find-pathinfo find-index-j2ee find-index type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi ALT send- precompressed ALT compress-on-demand
  • 30. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser nametrans-j2ee pfx2dir document-root check-acl Directives Processed uri-clean find-pathinfo for a Web Application find-index-j2ee find-index Request type-j2ee type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT service-j2ee ALT es-internal ALT cgi Executed Successfully ALT send- precompressed Evaluated, but not true Not Evaluated ALT compress-on-demand
  • 32. obj.conf file <Object name="default"> AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true“ NameTrans fn="pfx2dir" from="/mc-icons" dir="/myinstance/lib/icons" name="es-internal" NameTrans fn=“assign-name" from=“/test” name=“MyAppServer“ AuthTrans NameTrans fn="document-root" root=“my-instance/docs" PathCheck fn="uri-clean" NameTrans PathCheck fn="check-acl" acl="default" PathCheck fn="find-pathinfo" PathCheck PathCheck fn="find-index" index-names="index.html,home.html,index.jsp" ObjectType fn="type-by-extension" ObjectType ObjectType fn="force-type" type="text/plain" Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Input Service method="TRACE" fn="service-trace" Error fn="error-j2ee" Output AddLog fn="flex-log" </Object> Route <Object name=“MyAppServer"> Service fn=”wl_proxy” WebLogicHost=192.168.100.1 WebLogicPort=8010 Service </Object> AddLog <Object name="es-internal"> PathCheck fn="check-acl" acl="es-internal" </Object> Error
  • 33. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir close the TCP/IP session after SSL Communications were completed in older versions of IE Browwsers document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 34. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir Process the directives in a named object. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 35. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir Replaces a directory prefix in the requested URL with a real directory name. document-root Evaluated, but not true check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 36. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir Processing falls into the default case. File location path is the Concatenation of Document document-root root directory and URI from the request. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 37. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir Updates the ACL for this instance. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 38. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir URI did not contain any potential security risks so processing continues. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 39. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir URI did not contain any extra path information, so the PATH_INFO variable was not populated document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 40. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir The requested resource was not a directory so the resource path information remains unaltered. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 41. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir The mime.types file defined in the server.xml is evaluated. The server locates an extension of document-root requested file and sets the Content-Type accordingly. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 42. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir The type has already been defined and force-type does not set enc or lang attributes. This directive is document-root processed, but no changes occur. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 43. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir Delegated to serve dynamic pages, such as JSPs or pages generated by Weblogic server. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 44. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir The access log is updated to reflect the client request and subsequent server response. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal
  • 45. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser assign-name pfx2dir document-root Directives Processed check-acl uri-clean for a Oracle Weblogic find-pathinfo find-index Server Request type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT wl-proxy MyAppServer ALT check-acl es-internal Executed Successfully Evaluated, but not true Not Evaluated
  • 47. obj.conf file <Object name="default"> AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true“ NameTrans fn=“map" from=“/test” name=“MyAppServer“ to=“http:/Test/” NameTrans fn="pfx2dir" from="/mc-icons" dir="/myinstance/lib/icons" name="es-internal" AuthTrans NameTrans fn="document-root" root=“my-instance/docs" PathCheck fn="uri-clean" NameTrans PathCheck fn="check-acl" acl="default" PathCheck fn="find-pathinfo" PathCheck PathCheck fn="find-index" index-names="index.html,home.html,index.jsp" ObjectType fn="type-by-extension" ObjectType ObjectType fn="force-type" type="text/plain" Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common" Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Input Service method="TRACE" fn="service-trace" Error fn="error-j2ee" Output AddLog fn="flex-log" </Object> Route <Object name=“MyAppServer"> Route fn="set-origin-server" server=http://localhost:8080/ Service </Object> <Object ppath="http:*"> AddLog Service fn="proxy-retrieve" method="*" </Object> <Object name="es-internal"> Error PathCheck fn="check-acl" acl="es-internal" </Object>
  • 48. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir close the TCP/IP session after SSL Communications were completed in older versions of IE Browwsers document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 49. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir looks for a certain URL prefix in the URL that the client is requesting. If map finds the prefix, it replaces document-root the prefix with the mirror site prefix. Evaluated True. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 50. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir Replaces a directory prefix in the requested URL with a real directory name. document-root Evaluated, but not true check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 51. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir URI did not contain any potential security risks so processing continues. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 52. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir URI did not contain any extra path information, so the PATH_INFO variable was not populated document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 53. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir The requested resource was not a directory so the resource path information remains unaltered. document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 54. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir The mime.types file defined in the server.xml is evaluated. The server locates an extension of document-root requested file and sets the Content-Type accordingly. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 55. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir The type has already been defined and force-type does not set enc or lang attributes. This directive is document-root processed, but no changes occur. check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal
  • 56. Auth Name Path Object Input Output Route Service Error Log Trans Trans Check Type match-browser map pfx2dir distributes the load across a set of homogeneous HTTP origin servers document-root check-acl uri-clean find-pathinfo find-index type-by- extension force-type index-common send-file service-trace error-j2ee AddLog ALT proxy-retrieve http:* ALT set-origin-server MyAppServer ALT check-acl es-internal