Skip to content

Commit 30eff6e

Browse files
Merge pull request #284168 from cephalin/urlrewrite
add url rewrite
2 parents 5aa85de + ce875bb commit 30eff6e

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

articles/app-service/configure-language-dotnetcore.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ For more information, see [Configure ASP.NET Core to work with proxy servers and
225225

226226
::: zone pivot="platform-linux"
227227

228+
## Rewrite or redirect URL
229+
230+
To rewrite or redirect URL, use the [URL rewriting middleware in ASP.NET Core](/aspnet/core/fundamentals/url-rewriting).
231+
228232
## Open SSH session in browser
229233

230234
[!INCLUDE [Open SSH session in browser](../../includes/app-service-web-ssh-connect-builtin-no-h.md)]

articles/app-service/configure-language-java-deploy-run.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,22 @@ To deploy .ear files, [use FTP](deploy-ftp.md). Your .ear application is deploye
178178
179179
Don't deploy your .war or .jar using FTP. The FTP tool is designed to upload startup scripts, dependencies, or other runtime files. It's not the optimal choice for deploying web apps.
180180
181+
## Rewrite or redirect URL
182+
183+
To rewrite or redirect URL, use one of the available URL rewriters, such as [UrlRewriteFilter](http://tuckey.org/urlrewrite/).
184+
185+
::: zone pivot="java-tomcat"
186+
187+
Tomcat also provides a [rewrite valve](https://tomcat.apache.org/tomcat-10.1-doc/rewrite.html).
188+
189+
::: zone-end
190+
191+
::: zone pivot="java-jboss"
192+
193+
JBoss also provides a [rewrite valve](https://docs.jboss.org/jbossweb/7.0.x/rewrite.html).
194+
195+
::: zone-end
196+
181197
## Logging and debugging apps
182198
183199
Performance reports, traffic visualizations, and health checkups are available for each app through the Azure portal. For more information, see [Azure App Service diagnostics overview](overview-diagnostics.md).

0 commit comments

Comments
 (0)