Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bind_ip_addr fixed AND web admin



Mythili Devineni:

> 1. 
> [bind_ip_addr stuff ....]
>> Is this going to make it into the web admin interface?
> It is not going to be in 3.0. But the cgis can be very easily modified
> to add your own preferences for displaying and editing, with some
> javascript, html and cgi knowledge.

OK, I'll look into it and hack some stuff in there myself for our own local
use (so my coworkers can do the basic administration without having to edit
the XML file and probably break everything).

By the way, I have an APSL-related question. I know I have to put my
modified code up in some publicly available way. I also have to grant Apple
and others the right to use it. Does that mean I have to notify Apple
(presumably by using the modification submission page) for every change I
make, even if nobody else would be interested?

> 2. 
>> By the way, I can't get the web admin interface to work in this
>> configuration yet. I can make it look for DSS on the IP address it's bound
>> to, but then it never seems to think DSS is actually running. When I start
>> it, I see the "starting up" message on the web page, but it never gets the
>> information.
> The IP address for DSS is hardcoded as "localhost" in
> streamingadminserver.pl. To override the defaults, you can drop a config
> file into the default config file location:
> "/etc/streaming/streamingadminserver.conf", and start up the admin
> server. It should pick up the config parameters from this file.

Well, I made that file, and it still isn't finding DSS, but I'll play with
it a little more before I have any questions.

> 3. 
>> Plus, it looks in the wrong place for the error log, which is the main thing
>> I want it for. I hacked around temporarily by hardcoding it to just open my
>> specific file....
> The Error log path is got from DSS

OK, that makes sense. Never mind.

>> By the way, why isn't it better to write the admin interface be written as a
>> CGI, or in PHP, so you could just attach it to a running webserver? Is it
>> just so you don't have to run a webserver on the machine if you weren't
>> already planning to?
> Yes. And we wanted to tie in the security of the admin to the streaming
> server, since all the admin protocol requests to the server need to be
> authenticated. It also allows us to add other DSS related stuff that
> should really belong to DSS and not run as a cgi of webserver.

That's a good reason.

> Hope this helps!

Definitely. Thanks a lot.


References: 
 >Re: bind_ip_addr fixed AND web admin (From: Mythili Devineni <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.