diff options
author | Jim Jagielski <jim@apache.org> | 2007-08-25 12:41:14 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2007-08-25 12:41:14 +0000 |
commit | 014540fa02da7567795ccbef618f61d3ede77398 (patch) | |
tree | 848a16a9e05a9bf1785737a6d532707687e5359b /modules/experimental | |
parent | 32c45436bd38071f544db50a9610ee43dc6f6b12 (diff) | |
download | httpd-014540fa02da7567795ccbef618f61d3ede77398.tar.gz |
We are Substitute now :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569659 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/experimental')
-rw-r--r-- | modules/experimental/mod_substitute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/experimental/mod_substitute.c b/modules/experimental/mod_substitute.c index 4b0c854425..04a3010bae 100644 --- a/modules/experimental/mod_substitute.c +++ b/modules/experimental/mod_substitute.c @@ -449,7 +449,7 @@ static const char *set_pattern(cmd_parms *cmd, void *cfg, const char *line) 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 @@ static const char *set_pattern(cmd_parms *cmd, void *cfg, const char *line) } 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 @@ static const char *set_pattern(cmd_parms *cmd, void *cfg, const char *line) 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 @@ static const char *set_pattern(cmd_parms *cmd, void *cfg, const char *line) 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 */ |