Web Connector 23.2

# ResourceUrlCantHaveRegex

A resource is not downloaded if its URL matches the specified regular expression.

Resources include stylesheets, JavaScript files, images, and other items that are used to construct a page. You can prevent the Web Connector ingesting documents for resources by setting parameters like UrlCantHaveRegex or ContentTypeCantHaveRegex, but the connector still downloads resources so that it can render pages correctly.

You can set this parameter to prevent the connector downloading the specified resources under any circumstances.

This parameter cannot be used to exclude pages (such as HTML files).

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | The following example instructs the connector not to download any resource where the URL ends with `script.js`. You might use this to prevent the connect downloading a specific script. `ResourceUrlCantHaveRegex=.*script\.js`
See Also: | ResourceUrlMustHaveRegex

Copyright 2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 23.2

Topic Title: ResourceUrlCantHaveRegex