diff -up wapd-0.9/access.c~ wapd-0.9/access.c --- wapd-0.9/access.c~ 2008-01-13 14:41:21.000000000 +0200 +++ wapd-0.9/access.c 2008-01-22 00:16:13.000000000 +0200 @@ -212,7 +212,11 @@ int cWapSocket::Accept(void) if (newsock > 0) { bool accepted = WapHosts.Acceptable(clientname.sin_addr.s_addr); if (!accepted) { - const char *s = "Access denied!\n"; + const char *s = + "HTTP/1.0 403 Forbidden\n" + "Server: VDR WAPD\n" + "Content-Type: text/plain\n\n" + "Access denied!\n"; write(newsock, s, strlen(s)); close(newsock); newsock = -1;