conf->loginsuccess, &err);
if (!err) {
apr_table_set(r->headers_out, "Location", loginsuccess);
+ return HTTP_MOVED_TEMPORARILY;
}
else {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02339)
"Can't evaluate login success expression: %s", err);
+ return HTTP_INTERNAL_SERVER_ERROR;
}
- return HTTP_MOVED_TEMPORARILY;
}
}
}
conf->loginrequired, &err);
if (!err) {
apr_table_set(r->headers_out, "Location", loginrequired);
+ return HTTP_MOVED_TEMPORARILY;
}
else {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02340)
"Can't evaluate login required expression: %s", err);
+ return HTTP_INTERNAL_SERVER_ERROR;
}
- return HTTP_MOVED_TEMPORARILY;
}
/* did the user ask to be redirected on login success? */
conf->loginsuccess, &err);
if (!err) {
apr_table_set(r->headers_out, "Location", loginsuccess);
+ return HTTP_MOVED_TEMPORARILY;
}
else {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02341)
"Can't evaluate login success expression: %s", err);
+ return HTTP_INTERNAL_SERVER_ERROR;
}
- return HTTP_MOVED_TEMPORARILY;
}
return HTTP_OK;
}
conf->loginrequired, &err);
if (!err) {
apr_table_set(r->headers_out, "Location", loginrequired);
+ return HTTP_MOVED_TEMPORARILY;
}
else {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02342)
"Can't evaluate login required expression: %s", err);
+ return HTTP_INTERNAL_SERVER_ERROR;
}
- return HTTP_MOVED_TEMPORARILY;
}
return rv;
conf->logout, &err);
if (!err) {
apr_table_addn(r->headers_out, "Location", logout);
+ return HTTP_TEMPORARY_REDIRECT;
}
else {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02343)
"Can't evaluate logout expression: %s", err);
+ return HTTP_INTERNAL_SERVER_ERROR;
}
- return HTTP_TEMPORARY_REDIRECT;
}
return HTTP_OK;