You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/05/13 19:51:48 UTC
cvs commit: apache-1.3/conf httpd.conf-dist httpd.conf-dist-nw httpd.conf-dist-win
wrowe 01/05/13 10:51:48
Modified: conf httpd.conf-dist httpd.conf-dist-nw
httpd.conf-dist-win
Log:
Answer the (single most?) common FAQ of trailing slashes on Aliases
Revision Changes Path
1.70 +3 -0 apache-1.3/conf/httpd.conf-dist
Index: httpd.conf-dist
===================================================================
RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- httpd.conf-dist 2001/03/09 10:09:40 1.69
+++ httpd.conf-dist 2001/05/13 17:51:47 1.70
@@ -525,6 +525,9 @@
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
+# If fakename is slash-terminated [the alias is only found when the request is
+# slash-terminated] then the realname must be slash terminated, if the fakename
+# omits the trailing slash, the realname must also omit the trailing slash.
#
<IfModule mod_alias.c>
1.10 +3 -0 apache-1.3/conf/httpd.conf-dist-nw
Index: httpd.conf-dist-nw
===================================================================
RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist-nw,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- httpd.conf-dist-nw 2001/03/02 22:17:10 1.9
+++ httpd.conf-dist-nw 2001/05/13 17:51:47 1.10
@@ -459,6 +459,9 @@
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
+# If fakename is slash-terminated [the alias is only found when the request is
+# slash-terminated] then the realname must be slash terminated, if the fakename
+# omits the trailing slash, the realname must also omit the trailing slash.
#
<IfModule mod_alias.c>
1.52 +3 -0 apache-1.3/conf/httpd.conf-dist-win
Index: httpd.conf-dist-win
===================================================================
RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist-win,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- httpd.conf-dist-win 2001/02/22 03:48:16 1.51
+++ httpd.conf-dist-win 2001/05/13 17:51:48 1.52
@@ -528,6 +528,9 @@
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
+# If fakename is slash-terminated [the alias is only found when the request is
+# slash-terminated] then the realname must be slash terminated, if the fakename
+# omits the trailing slash, the realname must also omit the trailing slash.
#
<IfModule mod_alias.c>