URL Rewrite Misconfiguration.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

URL Rewrite Misconfiguration.

L5 Sessionator

I installed URL Rewrite module in CyberArk PVWA servers to redirect the url. It got correclty installed and the app displays under "Default Web Site" as well as under "PasswordVault" which is great.

Field_Content_versions_oct20__068Ht00000VdHnkIAF.pngWhenever I create redirect configuration in url rewrite under Default Web Site chain. It gets inherited to PasswordVault section urlrewrite too. BUT redirect never works and web.config file gets updated only in this location. C:\inetpub\wwwroot but not in the web.config file for this C:\inetpub\wwwroot\PasswordVault location

 

Field_Content_versions_oct20__068Ht00000VdHnOIAV.pngAnyway, Whenever I skip Urlrewrite section under Default Website and just directly jump to Urlrewrite module under PasswordVault section and configures the redirect url then It works and it gets updated to web.config file under C:\inetpub\wwwroot\PasswordVault location

Field_Content_versions_oct20__068Ht00000VdHnaIAF.pngTherefore, my questions are below:

1) Whenever I configure urlrewrite redirect configuration under default website then it gets inherited under passwordvault urlrewrite modules too, but web.config doesn't get updated in C:\inetpub\wwwroot\PasswordVault. So, why?

2) Just configuring in web.config file for url redirect for this C:\inetpub\wwwroot\PasswordVault will cause any issue due to any reasons and if it is not updated or configured in web.config file located at C:\inetpub\wwwroot?

 

I hope I explained clearly. Please help me on this. I will try to elaborate more if I have to.

 

Thank You,

Sanzu

 

1 accepted solution

Accepted Solutions

L7 Applicator

Hi @sanjay sah​ 

 

The URL Rewrite configuration rules under the Default Website in IIS, these settings are inherited by all applications under the Default Website unless explicitly overridden. However, this inheritance does not automatically trigger an update in the web.config.

 

And configuring URL Rewrite rules directly in the web.config should not cause any issues.Please validate in test environment first.

 

Hope it helps !

View solution in original post

2 REPLIES 2

L7 Applicator

Hi @sanjay sah​ 

 

The URL Rewrite configuration rules under the Default Website in IIS, these settings are inherited by all applications under the Default Website unless explicitly overridden. However, this inheritance does not automatically trigger an update in the web.config.

 

And configuring URL Rewrite rules directly in the web.config should not cause any issues.Please validate in test environment first.

 

Hope it helps !

Let me do it and let you know by today.

  • 1 accepted solution
  • 160 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!