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



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.

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.
Otherwise, you can give the config file as an argument to the program
when executing:

#streamingadminserver.pl /foo/bar/myconfigfile

and it will read the prefs from this file.

A default config file is available in the source distribution or from
the cvs repository. 

Note: If machines are not configured to map "localhost" to 127.0.0.1,
the adminserver will appear to be contact DSS but will fail and may
appear as a hang. So even if you are using the default ip address for
DSS, this may be a problem. This has been fixed now to not rely on
"localhost" anymore.

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, and the path can be set via the
admin (Go to Settings and then Logging submenu). The behavior you saw is
probably related to the first one. If the admin server displays a
message "Can't open file:" or such, it is just looking for "" -
basically no filepath and hence it isn't going to find it.

> 
> 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.

Hope this helps!
mythili
-- 
Mythili Devineni
email@hidden
QuickTime Streaming Server Engineering


References: 
 >Re: bind_ip_addr fixed AND web admin (From: Andi Payn <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.