cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

Why does using a reverse proxy between the Browser and the Controller cause encoded slashes errors?

Issue

This article is intended for anyone who is attempting to view the Controller from a browser via an Apache Reverse Proxy and encounters an error due to encoded slashes.  The problem seems to occur when accessing the Server Tabs, which as of the 4.3 Controller, contain encoded slashes within the URL sent back to the browser. Clicking on the URL will generate an error that looks similar to the following:

 

The requested URL The requested URL /controller/restui/userPreferenceManager/setGeneralUserPreference/SIMMachinesListController-stateId--SIM_MODE-4.3-metricToggles/[{"selected":false,"label":"Availability (%)","type":0,"metricName":"Hardware Resources|Machine|Availability"},{"selected":false,"label":"Availability (%) Trend","type":1,"metricName":"Hardware Resources|Machine|Availability"},{"selected":true,"label":"CPU (%)","type":0,"metricName":"Hardware Resources|CPU|%Busy"},{"selected":true,"label":"CPU (%) Trend","type":1,"metricName":"Hardware Resources|CPU|%Busy"},{"selected":false,"label":"CPU Steal (%)","type":0,"metricName":"Hardware Resources|CPU|%Stolen"},{"selected":false,"label":"CPU Steal (%) Trend","type":1,"metricName":"Hardware Resources|CPU|%Stolen"},{"selected":true,"label":"Disk I/O (%)","type":0,"metricName":"Hardware Resources|Disks|Avg IO Utilization (%)"},{"selected":true,"label":"Disk I/O (%) Trend","type":1,"metricName":"Hardware Resources|Disks|Avg IO Utilization (%)"},{"selected":true,"label":"Disk Usage (%)","type":0,"metricName":"Hardware Resources|Volumes|Used (%)"},{"selected":true,"label":"Disk Usage (%) Trend","type":1,"metricName":"Hardware Resources|Volumes|Used (%)"},{"selected":false,"label":"Load - 1min","type":0,"metricName":"Hardware Resources|Load|Last 1 minute"},{"selected":false,"label":"Load - 1min Trend","type":1,"metricName":"Hardware Resources|Load|Last 1 minute"},{"selected":true,"label":"Memory (%)","type":0,"metricName":"Hardware Resources|Memory|Used %"},{"selected":true,"label":"Memory (%) Trend","type":1,"metricName":"Hardware Resources|Memory|Used %"},

 

Solution 

To avoid this issue, add the Apache directive to the httpd.conf file, and restart the Apache server. You'll need to use version 2.2.18 or later of Apache.

 

AllowEncodedSlashes NoDecode

 

Please note that this is an Apache-specific issue and is not related to our Controller or the Apache Agent.  We are providing this information only to help assist you with getting past the issue; we do not offer Apache configuration or tuning support. Please contact your local system adminstrator for assistance.

 

For additional details, we recommend you review the Apache documentation at http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes

 

Version history
Last update:
‎02-04-2019 02:40 PM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos