On Sep 16, 2008, at 8:26 AM, David Kerr wrote:

> Now that I have the 0.6 branch running in my sandbox I started to  
> configure it and have found a couple of things.
>
> 1) The webgui uses a directory "rc.conf.d" into which network  
> settings are placed, and the documentation recommends that we put a  
> "user.conf" file in here for our own settings.  I found that this  
> file was not created by default, and therefore did not appear in the  
> list of files that can be edited by the GUI.  I had to upload one  
> myself, after which it appeared in the list in the GUI.  It would be  
> nice if a user.conf file was created by default (blank, with just a  
> few comment lines with instructions maybe?)
>
> 2) I asked for, and Lonnie implemented, a way to launch the asterisk- 
> gui from the web interface. Lonnie created a field into which I  
> could enter any URL and a link appears in the top right.  What is  
> the right naming convention for this URL if I want to have the gui  
> substitute the URL base name rather than hardcode a IP address or  
> name (like "pbx")... in otherwords, the "link" URL needs to be  
> different depending on whether I access the Astlinux box through the  
> EXTIF or the INTIF.

David,

altweb version 1.1.08 should address both of your items above.

[Version 1.1.08]

1) The /mnt/kd/rc.conf.d/user.conf file is now always automatically  
created.  Often this
file will not have any variable definitions, but instructive comments  
are included to
help define the purpose of this file.

2) The Network tab has a new "Advanced Configuration" section.  The  
"User System Variables"
has a button [Edit User Config...], when clicked, the user.conf file  
is edited.

With this addition, any/all of the system configuation variables can  
be specified from
the Network tab.

3) The Prefs tab General Options: "External URL Link" has a new  
feature.  If the URL contains
the string "://localhost" then this special case will replace the  
"localhost" string with
the hostname the user's browser is currently using to access altweb.

For example, if you use https://my.public.tld/status.php to access  
altweb, you can
specify http://localhost:8088/asterisk/ as the "External URL Link"  
will expand to
http://my.public.tld:8088/asterisk/ in the href= link.

If a port number exists in both the browser and ://localhost:NNNN in  
the "External URL Link"
the "External URL Link" port number NNNN has precedence.

http://lonnie.abelbeck.com/astlinux/info/webgui.php

Lonnie


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to