Author: jim
Date: Sat Aug 25 05:41:14 2007
New Revision: 569659
URL: http://svn.apache.org/viewvc?rev=569659&view=rev
Log:
We are Substitute now :)
Modified:
httpd/httpd/trunk/modules/experimental/mod_substitute.c
Modified: httpd/httpd/trunk/modules/experimental/mod_substitute.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/experimental/mod_substitute.c?rev=569659&r1=569658&r2=569659&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/experimental/mod_substitute.c (original)
+++ httpd/httpd/trunk/modules/experimental/mod_substitute.c Sat Aug 25 05:41:14 2007
@@ -449,7 +449,7 @@
ap_regex_t *r = NULL;
if (apr_tolower(*line) != 's') {
- return "Bad Rewrite format, must be an s/// pattern";
+ return "Bad Substitute format, must be an s/// pattern";
}
ourline = apr_pstrdup(cmd->pool, line);
delim = *++ourline;
@@ -471,7 +471,7 @@
}
if (!delim || !from || !to) {
- return "Bad Rewrite format, must be a complete s/// pattern";
+ return "Bad Substitute format, must be a complete s/// pattern";
}
while (*flags) {
@@ -483,7 +483,7 @@
else if (delim == 'f')
flatten = 1;
else
- return "Bad Rewrite flag, only s///[inf] are supported";
+ return "Bad Substitute flag, only s///[inf] are supported";
flags++;
}
@@ -492,7 +492,7 @@
r = ap_pregcomp(cmd->pool, from, AP_REG_EXTENDED |
(ignore_case ? AP_REG_ICASE : 0));
if (!r)
- return "Rewrite could not compile regex";
+ return "Substitute could not compile regex";
}
nscript = apr_array_push(((subst_dir_conf *) cfg)->patterns);
/* init the new entries */
|