diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-31 22:18:11 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-31 22:18:11 +0000 |
commit | 2795a354555544039c582ae934ffd06a0bf608de (patch) | |
tree | 646c609b06db537f68e5366a8383871b4e4a3750 /main | |
parent | 7ed642bdb5202cb588faccca359dea50b1d1abb5 (diff) |
accomodate users who seem to lack a sense of humor :-)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134983 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/http.c b/main/http.c index a0d6aad19..d969e719f 100644 --- a/main/http.c +++ b/main/http.c @@ -167,12 +167,12 @@ static char *static_callback(struct sockaddr_in *req, const char *uri, struct as out404: *status = 404; *title = strdup("Not Found"); - return ast_http_error(404, "Not Found", NULL, "Nothing to see here. Move along."); + return ast_http_error(404, "Not Found", NULL, "The requested URL was not found on this server."); out403: *status = 403; *title = strdup("Access Denied"); - return ast_http_error(403, "Access Denied", NULL, "Sorry, I cannot let you do that, Dave."); + return ast_http_error(403, "Access Denied", NULL, "You do not have permission to access the requested URL."); } @@ -367,7 +367,7 @@ static char *handle_uri(struct sockaddr_in *sin, char *uri, int *status, ast_rwlock_unlock(&uris_lock); } else if (ast_strlen_zero(uri) && ast_strlen_zero(prefix)) { /* Special case: If no prefix, and no URI, send to /static/index.html */ - c = ast_http_error(302, "Moved Temporarily", "Location: /static/index.html\r\n", "This is not the page you are looking for..."); + c = ast_http_error(302, "Moved Temporarily", "Location: /static/index.html\r\n", "Redirecting to /static/index.html."); *status = 302; *title = strdup("Moved Temporarily"); } else { |