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

Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
Piero Fraternali
 
04 darwino concepts and utility classes
04   darwino concepts and utility classes04   darwino concepts and utility classes
04 darwino concepts and utility classes
darwinodb
 
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 v2
zhang hua
 
2010 10 provxg_datagovuk
2010 10 provxg_datagovuk2010 10 provxg_datagovuk
2010 10 provxg_datagovuk
Jun Zhao
 
HTTP
HTTPHTTP
Validating a json in mule
Validating a json in muleValidating a json in mule
Validating a json in mule
Anirban Sen Chowdhary
 
Infrastructure as Code - Terraform - Devfest 2018
Infrastructure as Code - Terraform - Devfest 2018Infrastructure as Code - Terraform - Devfest 2018
Infrastructure as Code - Terraform - Devfest 2018
Mathieu 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 Hadoop
Sadayuki Furuhashi
 
Fluentd meetup at Slideshare
Fluentd meetup at SlideshareFluentd meetup at Slideshare
Fluentd meetup at Slideshare
Sadayuki Furuhashi
 
SVN Hook
SVN HookSVN Hook
SVN Hook
Thomas Weinert
 
Application Integration with XProc
Application Integration with XProcApplication Integration with XProc
Application Integration with XProc
Vojtech Toman
 
Ogce Workflow Suite Tg09
Ogce Workflow Suite Tg09Ogce Workflow Suite Tg09
Ogce Workflow Suite Tg09
smarru
 
JSOP in 60 seconds
JSOP in 60 secondsJSOP in 60 seconds
JSOP in 60 seconds
David Nuescheler
 
Tracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracingTracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracing
Hemant 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 2020
Timothy 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 AEP
BIOVIA
 
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
DataWorks Summit
 
Fluentd meetup in japan
Fluentd meetup in japanFluentd meetup in japan
Fluentd meetup in japan
Treasure Data, Inc.
 
ElasticSearch, Elastica, ElasticaBundle
ElasticSearch, Elastica, ElasticaBundleElasticSearch, Elastica, ElasticaBundle
ElasticSearch, Elastica, ElasticaBundle
Nicolas 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

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
Vadym Kazulkin
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 

Recently uploaded (20)

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 

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