SlideShare a Scribd company logo
1 of 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

More Related Content

Similar to 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
 

Similar to 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
 

Recently uploaded

AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftshyamraj55
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandIES VE
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jNeo4j
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 

Recently uploaded (20)

AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 

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