---
title: Application URL Prefix
description: The URL path prefix for the web server application or location block that the agent protects.
component: web-agents
version: 2026
page_id: web-agents:properties-reference:com.forgerock.agents.application.prefix
canonical_url: https://docs.pingidentity.com/web-agents/2026/properties-reference/com.forgerock.agents.application.prefix.html
llms_txt: https://docs.pingidentity.com/web-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
---

# Application URL Prefix

The URL path prefix for the web server application or location block that the agent protects.

Set this property when the agent is installed for a sub-application rather than at the server root. For example, when an IIS agent is installed under `/myapp`, only requests with the `/myapp/` prefix are routed to that application, so the agent's internal endpoints (`/agent/custom-login-response`, `/agent/login-fragment-relay`, and so on) would be unreachable without this prefix.

The value must start with `/`. Trailing slashes are ignored.

When set, the agent validates that `com.sun.identity.agents.config.cdsso.redirect.uri` begins with the same prefix, and refuses to start if it does not.

Example: `com.forgerock.agents.application.prefix=/myapp`

Default: Empty (agent is installed at the server root)

|                    |                                                                             |
| ------------------ | --------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.application.prefix`   Introduced in Web Agent 2026.11 |
| Function           | General                                                                     |
| Type               | String                                                                      |
| Bootstrap property | No                                                                          |
| Required property  | No                                                                          |
| Restart required   | No                                                                          |
