pharkawik@hampshire.edu
2004-Aug-06 14:23 UTC
[icecast] php script for listener count and www admin interface password
i will try that. about the acl_policy thing: this controls access but nowhere does it specify an HTTP username or password for accessing the WWW admin interface. i am NOT getting the usual "403 Forbidden You don't have access to this entity (stream or file). Please go away" error-- i can actually see the admin interface but certain pages bring up an HTTP authentication dialog. where is the user/pass for the admin interface set? again this is a debian system so i'm not sure if the package is configured differently... thanks, peter On Wednesday, March 12, 2003, at 05:11 AM, Marco Alanen wrote:> On Wed, 12 Mar 2003 04:01:33 -0500 > pharkawik@hampshire.edu wrote: > >> yes.. but can anybody tell me how to pull a simple listener count out >> of that page with php? >> >> also still don't know how to figure out that HTTP user/pass problem... >> there is NOTHING about it in the docs or online > > You need to find and edit mountlist.html, where you can enter some > commands with @COMMAND@. To get the current ammount of listeners, > simply > write @LISTENERS@, or to make it a little more interesting: > @LISTENERS@/@MAXLISTENERS@ > Regarding that admin page.. I've changed it so I've whitelisted a few > IP's (126.1.120.*, my internal ones) in icecast.conf. The access > control is > at the bottom of that list. Here is what I have: > > acl_policy 0 > allow all 126.1.120.* > allow all 127.0.0.1 * > allow client * > > /Marco > > ---------------------------- > Embedded RT System Developer > > Marco Alanen > Svensk ByggnadsGeodesi AB > Kvarnbergsvägen 27 > 141 45 HUDDINGE > SWEDEN > > Phone: +46 (0)8 7112090 > Fax: +46 (0)8 7112098 > Homepage: http://www.sbg.se > E-mail: marco@sbg.se > ---------------------------- > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to > 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is > needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
pharkawik@hampshire.edu
2004-Aug-06 14:23 UTC
[icecast] php script for listener count and www admin interface password
yes.. but can anybody tell me how to pull a simple listener count out of that page with php? also still don't know how to figure out that HTTP user/pass problem... there is NOTHING about it in the docs or online -p On Wednesday, March 12, 2003, at 04:51 AM, Marco Alanen wrote:> On Wed, 12 Mar 2003 03:24:35 -0500 > pharkawik@hampshire.edu wrote: > >> i am looking for a simple php script or anything really that will >> allow >> me to display a listener count on a simple web page. "5 users >> currently >> connected" sort of thing. i have scoured the web with no luck. i would >> even settle for a shell script that would pull the number out of the >> icecast.conf file. i don't care how it happens as long as it isn't a >> windows program. > <snip> > > Oh.. Just read your mail a little more careful... I misinterpreted it > :D > But you can use the http://your.stream.ip.here:port/list.cgi to achieve > that. > > /Marco > > ---------------------------- > Embedded RT System Developer > > Marco Alanen > Svensk ByggnadsGeodesi AB > Kvarnbergsvägen 27 > 141 45 HUDDINGE > SWEDEN > > Phone: +46 (0)8 7112090 > Fax: +46 (0)8 7112098 > Homepage: http://www.sbg.se > E-mail: marco@sbg.se > ---------------------------- > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to > 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is > needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Marco Alanen
2004-Aug-06 14:23 UTC
[icecast] php script for listener count and www admin interface password
On Wed, 12 Mar 2003 04:01:33 -0500 pharkawik@hampshire.edu wrote:> yes.. but can anybody tell me how to pull a simple listener count out > of that page with php? > > also still don't know how to figure out that HTTP user/pass problem... > there is NOTHING about it in the docs or onlineYou need to find and edit mountlist.html, where you can enter some commands with @COMMAND@. To get the current ammount of listeners, simply write @LISTENERS@, or to make it a little more interesting: @LISTENERS@/@MAXLISTENERS@ Regarding that admin page.. I've changed it so I've whitelisted a few IP's (126.1.120.*, my internal ones) in icecast.conf. The access control is at the bottom of that list. Here is what I have: acl_policy 0 allow all 126.1.120.* allow all 127.0.0.1 * allow client * /Marco ---------------------------- Embedded RT System Developer Marco Alanen Svensk ByggnadsGeodesi AB Kvarnbergsvägen 27 141 45 HUDDINGE SWEDEN Phone: +46 (0)8 7112090 Fax: +46 (0)8 7112098 Homepage: http://www.sbg.se E-mail: marco@sbg.se ---------------------------- --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Maybe Matching Threads
- php script for listener count and www admin interface password
- php script for listener count and www admin interface password
- php script for listener count and www admin interface password
- php script for listener count and www admin interface password
- yp.icecast.net