60
Oracle iPlanet Webserver Request Processing Flow - Samples ZeroProductionIncidents.Wordpress.com

Iplanet request processing-samples

Embed Size (px)

DESCRIPTION

Sample Request Processing for most common Requests.

Citation preview

Page 1: Iplanet request processing-samples

Oracle iPlanet Webserver

Request Processing Flow - Samples

ZeroProductionIncidents.Wordpress.com

Page 2: Iplanet request processing-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.

Page 3: Iplanet request processing-samples

Request Processing Stages - Execution

Phase Default be forced

Directives Executed

Comments

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

Page 4: Iplanet request processing-samples

Processing the Request for the file Present in

Document Root

Page 5: Iplanet request processing-samples

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"PathCheck fn="find-pathinfo"PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"ObjectType fn="type-by-extension"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"Service method="TRACE" fn="service-trace"AddLog fn="flex-log"

</Object><Object name="es-internal">

PathCheck fn="check-acl" acl="es-internal"</Object><Object name="cgi">

ObjectType fn="force-type" type="magnus-internal/cgi"Service fn="send-cgi"

</Object><Object name="send-precompressed">

PathCheck fn="find-compressed"</Object><Object name="compress-on-demand">

Output fn="insert-filter" filter="http-compression"</Object>

AuthTrans

NameTrans

PathCheck

ObjectType

Input

Output

Route

Service

AddLog

Error

Page 6: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

close the TCP/IP session after SSL Communicationswere completed in older versions of IE Browwsers

Page 7: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

Replaces a directory prefix in the requested URL with a real directory name.Evaluated, but not true

Page 8: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

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

Page 9: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

Updates the ACL for this instance.

Page 10: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

URI did not contain any potential security risks so processing continues.

Page 11: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

URI did not contain any extra path information, so the PATH_INFO variable was not populated

Page 12: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

The requested resource was not a directory so the resource path information remains unaltered.

Page 13: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

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

Page 14: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

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

Page 15: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

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

Page 16: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

The access log is updated to reflect the client request and subsequent server response.

Page 17: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

pfx2dir

document-root

match-browser

check-acl

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

AddLog

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

Directives Processed for a file from

Document Root

Executed Successfully

Evaluated, but not true

Not Evaluated

Page 18: Iplanet request processing-samples

Processing the Web Application Request

Page 19: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

close the TCP/IP session after SSL Communicationswere completed in older versions of IE Browwsers

check-acl

Page 20: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

Determines whether the requested resource maps to content that is hosted in a Java web application. It turns out to be true.

check-acl

Page 21: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

URI did not contain any potential security risks so processing continues.

check-acl

Page 22: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

URI did not contain any extra path information (found after the filename) so the PATH_INFO variable was not populated

check-acl

Page 23: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfofind-index-

j2eefind-index

type-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

Implements welcome file processing for Java web applications. It acts on URIs that map to directories within the Java web application

check-acl

Page 24: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

The requested resource was not a directory so the resource path information remains unaltered.

check-acl

Page 25: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

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

check-acl

Page 26: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

This directive is processed, but no changes occur.

check-acl

Page 27: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

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

check-acl

Page 28: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

Processes requests for resources in Java web applications and returns a response to the client.

check-acl

Page 29: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

The access log is updated to reflect the client request and subsequent server response.

check-acl

Page 30: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

nametrans-j2ee

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index-j2ee

find-indextype-j2ee

type-by-extension

force-type

error-j2ee

AddLog

ALT service-j2ee

ALT es-internal

ALT cgi

ALT send- precompressed

ALT compress-on-demand

index-common

send-file

service-trace

check-aclDirectives Processed

for a Web Application Request

Executed Successfully

Evaluated, but not true

Not Evaluated

Page 31: Iplanet request processing-samples

Processing the Oracle Weblogic Server

Request

Page 32: Iplanet request processing-samples

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“NameTrans fn="document-root" root=“my-instance/docs"PathCheck fn="uri-clean"PathCheck fn="check-acl" acl="default"PathCheck fn="find-pathinfo"PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"ObjectType fn="type-by-extension"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"Service method="TRACE" fn="service-trace"Error fn="error-j2ee"AddLog fn="flex-log"

</Object><Object name=“MyAppServer">

Service fn=”wl_proxy” WebLogicHost=192.168.100.1 WebLogicPort=8010</Object>

<Object name="es-internal">PathCheck fn="check-acl" acl="es-internal"

</Object>

AuthTrans

NameTrans

PathCheck

ObjectType

Input

Output

Route

Service

AddLog

Error

Page 33: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

close the TCP/IP session after SSL Communicationswere completed in older versions of IE Browwsers

check-acl

es-internal

MyAppServer

Page 34: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

Process the directives in a named object.

check-acl

es-internal

MyAppServer

Page 35: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

Replaces a directory prefix in the requested URL with a real directory name.Evaluated, but not true

check-acl

es-internal

MyAppServer

Page 36: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

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

check-acl

es-internal

MyAppServer

Page 37: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

Updates the ACL for this instance.

check-acl

es-internal

MyAppServer

Page 38: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

URI did not contain any potential security risks so processing continues.

check-acl

es-internal

MyAppServer

Page 39: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

URI did not contain any extra path information, so the PATH_INFO variable was not populated

check-acl

es-internal

MyAppServer

Page 40: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

The requested resource was not a directory so the resource path information remains unaltered.

check-acl

es-internal

MyAppServer

Page 41: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

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

check-acl

es-internal

MyAppServer

Page 42: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

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

check-acl

es-internal

MyAppServer

Page 43: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

Delegated to serve dynamic pages, such as JSPs or pages generated by Weblogic server.

check-acl

es-internal

MyAppServer

Page 44: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

The access log is updated to reflect the client request and subsequent server response.

check-acl

es-internal

MyAppServer

Page 45: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

assign-name

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTwl-proxy

ALTcheck-acl

index-common

send-file

service-trace

check-acl

es-internal

MyAppServer

Directives Processed for a Oracle Weblogic

Server Request

Executed Successfully

Evaluated, but not true

Not Evaluated

Page 46: Iplanet request processing-samples

Processing the Reverse Proxy

Request

Page 47: Iplanet request processing-samples

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"NameTrans fn="document-root" root=“my-instance/docs"PathCheck fn="uri-clean"PathCheck fn="check-acl" acl="default"PathCheck fn="find-pathinfo"PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"ObjectType fn="type-by-extension"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"Service method="TRACE" fn="service-trace"Error fn="error-j2ee"AddLog fn="flex-log"

</Object><Object name=“MyAppServer"> Route fn="set-origin-server" server=http://localhost:8080/</Object><Object ppath="http:*"> Service fn="proxy-retrieve" method="*"</Object><Object name="es-internal"> PathCheck fn="check-acl" acl="es-internal"</Object>

AuthTrans

NameTrans

PathCheck

ObjectType

Input

Output

Route

Service

AddLog

Error

Page 48: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

close the TCP/IP session after SSL Communicationswere completed in older versions of IE Browwsers

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 49: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

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

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 50: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

Replaces a directory prefix in the requested URL with a real directory name.Evaluated, but not true

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 51: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

URI did not contain any potential security risks so processing continues.

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 52: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

URI did not contain any extra path information, so the PATH_INFO variable was not populated

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 53: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

The requested resource was not a directory so the resource path information remains unaltered.

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 54: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

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

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 55: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

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

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 56: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

distributes the load across a set of homogeneous HTTP origin servers

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 57: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

retrieves a document from a remote server and returns it to the client

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 58: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

The access log is updated to reflect the client request and subsequent server response.

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Page 59: Iplanet request processing-samples

Auth Trans

Name Trans

Path Check

Object Type

Input Output Route Service Error Log

map

pfx2dir

document-root

match-browser

uri-clean

find-pathinfo

find-index

type-by-extension

force-type

error-j2ee

AddLog

ALTproxy-retrieve

ALTcheck-acl

index-common

send-file

service-trace

check-acl

es-internal

http:*

ALT set-origin-server

MyAppServer

Directives Processed for Reverse Proxy

Request

Executed Successfully

Evaluated, but not true

Not Evaluated

Page 60: Iplanet request processing-samples

THANKYOU