Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

block-multipart-posts

Applicable in PathCheck-class directives.

The block-multipart-posts function blocks all multipart form file uploads when configured without any parameters. This can also be used to block requests based on specific content type, user-agent, or HTTP method using content-type, user-agent and method parameters.

Parameters

The following table describes parameters for the block-multipart-posts function.

Table 5–54 block-multipart-posts Parameters

Parameter  

Description  

content-type 

(Optional) Regular expression of the content type to be blocked 

user-agent 

(Optional) Regular expression of the user agent to be blocked 

method 

(Optional) Regular expression matching the HTTP request method to be blocked 

Example


PathCheck fn="block-multipart-posts" user-agent="Mozilla/.*" 
	method="(POST|PUT)"