Lines Matching refs:alias

57     const ap_expr_info_t *alias;
107 a->alias = (overrides->alias_set == 0) ? base->alias : overrides->alias;
162 alias_entry *alias = &entries[i];
164 if ( (!alias->regexp && alias_matches(fake, alias->fake) > 0)
165 || (alias->regexp && !ap_regexec(alias->regexp, fake, 0, NULL, 0))) {
172 alias->handler ? "Script" : "",
173 alias->regexp ? "Match" : "");
175 break; /* one warning per alias should be sufficient */
204 dirconf->alias =
209 "Cannot parse alias expression '", fake, "': ", err,
414 /* any number of '/' in the alias matches any number in
434 /* Check last alias path component matched all the way */
440 * greater than length of alias, since we may have matched
452 if (dirconf->alias) {
456 ap_expr_str_exec(r, dirconf->alias, &err));
459 "Can't evaluate alias expression: %s", err);
465 apr_table_setn(r->notes, "alias-forced-type", r->handler);
530 alias_entry *alias = &entries[i];
533 if (alias->regexp) {
534 if (!ap_regexec(alias->regexp, r->uri, AP_MAX_REG_MATCH, regm, 0)) {
535 if (alias->real) {
536 found = ap_pregsub(r->pool, alias->real, r->uri,
559 "Replacement too long?", alias->real);
570 l = alias_matches(r->uri, alias->fake);
573 ap_set_context_info(r, alias->fake, alias->real);
578 found = apr_pstrcat(r->pool, alias->real, escurl, NULL);
581 found = apr_pstrcat(r->pool, alias->real, r->uri + l, NULL);
586 if (alias->handler) { /* Set handler, and leave a note for mod_cgi */
587 r->handler = alias->handler;
588 apr_table_setn(r->notes, "alias-forced-type", r->handler);
599 *status = alias->redir_status;
722 AP_DECLARE_MODULE(alias) =