Another path problem in a comment and error message
Again, here's the patch :
diff -urbw icecast-old/src/connection.c icecast/src/connection.c
--- icecast-old/src/connection.c 2002-12-31 08:49:34.000000000 +0100
+++ icecast/src/connection.c 2003-01-13 23:08:33.000000000 +0100
@@ -589,7 +589,7 @@
/* there are several types of HTTP GET clients
** media clients, which are looking for a source (eg, URI = /stream.ogg)
- ** stats clients, which are looking for /stats.xml
+ ** stats clients, which are looking for /admin/stats.xml
** and director server authorizers, which are looking for /GUID-xxxxxxxx
** (where xxxxxx is the GUID in question) - this isn't implemented yet.
** we need to handle the latter two before the former, as the latter two
@@ -598,7 +598,7 @@
/* TODO: add GUID-xxxxxx */
if (strcmp(uri, "/admin/stats.xml") == 0) {
if (!_check_source_pass(parser)) {
- INFO0("Request for stats.xml with incorrect or no password");
+ INFO0("Request for /admin/stats.xml with incorrect or no
password");
client_send_401(client);
return;
}