From 3a166e5cc208eb10476d37668470c3a1405cd7ff Mon Sep 17 00:00:00 2001
From: Daniel Earl Poirier
Date: Mon, 1 Nov 2010 15:42:08 +0000
Subject: [PATCH] Fix regex in AliasMatch example. Thanks to Felix Schaefer
for report and fix. PR47722.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029715 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/urlmapping.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/manual/urlmapping.xml b/docs/manual/urlmapping.xml
index 1dfe80be60..01a3179810 100644
--- a/docs/manual/urlmapping.xml
+++ b/docs/manual/urlmapping.xml
@@ -181,8 +181,8 @@
/home/user/public_html/file.html
, use the following
AliasMatch
directive:
-AliasMatch ^/upages/([a-zA-Z0-9]+)/?(.*)
- /home/$1/public_html/$2
+AliasMatch ^/upages/([a-zA-Z0-9]+)(/(.*))?$
+ /home/$1/public_html/$3
URL Redirection
--
2.40.0