This looks really good! I have one question however. I uploaded all the files from the archive to /mnt/kd/altweb/ then reconfigured HTTPSDIR="/mnt/kd/altweb" but after restart, if I go to https://astlinux/ it tries to redirect me to https://astlinux/admin/ which at this point does not exist. I could only get it to work by going to https://astlinux/status.php (or any other .php in that folder) and from there I can get to the rest of the tabs. I'm probably missing something... Again congrats on a very well put-together interface!
George On Fri, Apr 4, 2008 at 9:48 PM, Lonnie Abelbeck <[EMAIL PROTECTED]> wrote: > Update, > > I have another update of my Alternate Web Interface. > > I added a "Network" tab that allows 25 of the most popular variables > to be defined in a gui. > > > Source found here: > http://lonnie.abelbeck.com/share/altweb.tar.gz > > Please let me know if I mishandled any of your favorite variables. > > I also automatically set: > ADNAME="" > to automatically disable bonjour broadcasts. > > I should say a little about the file the Network tab gui creates. > The gui does not edit your rc.conf file, but rather creates a > "gui.network.conf" file in your /mnt/kd/rc.conf.d/ directory. > > Starting in AstLinux 0.4.X, Kristian added a cool feature. Rather > than using a single /mnt/kd/rc.conf file, and having to remember to > update it with new variables as they come along, there is another way. > > If a /mnt/kd/rc.conf.d/ directory exists, for AstLinux 0.4.X and > beyond, your system /etc/rc.conf file will be generated by > concatenating either the /stat/etc/rc.conf (or your /mnt/kd/rc.conf > file if it exists) with all the *.conf files in the rc.conf.d directory. > > So, the gui creates a gui.network.conf file in the rc.conf.d directory. > > If you would like to define a few more variables, or override any > decisions the gui makes, create a user.conf file in the same > directory. AstLinux will then concatenate all these files together > to create the final variable shell script. These are done in > alphabetical order, so user.conf will be appended to gui.network.conf. > > If you have suggestions, please speak-up. > > Enjoy, > > Lonnie > > > > > On Apr 2, 2008, at 1:13 PM, Lonnie Abelbeck wrote: > > Greetings, > > > > I made a few additions to my Alternate Web Interface. > > > > Source found here: > > http://lonnie.abelbeck.com/share/altweb.tar.gz > > > > Note: No ".htpasswd" file is included, so be sure to click the > > "System" tab and set the password. > > > > The System tab now displays all the defined rc.conf variables and > > their values. > > > > To use, extract the archive files into /mnt/kd/altweb/ directory. > > (for example) > > > > Then set: > > ##HTTPS Variables > > HTTPSDIR="/mnt/kd/altweb" > > > > Additionally, if you don't use AstLinux's http for anything, you can > > also set: > > > > HTTPDIR="/mnt/kd/altweb/http" > > > > this will redirect to a https connection without asking for your > > password twice. > > > > Enjoy, > > > > Lonnie > > > > # tar xzvf altweb.tar.gz > > ./ > > ./status.php > > ./index.php > > ./common/ > > ./common/footer.php > > ./common/functions.php > > ./common/header.php > > ./common/result.php > > ./common/tabright.gif > > ./common/tableft.gif > > ./sysdial.php > > ./http/ > > ./http/index.php > > ./http/favicon.ico > > ./http/php.ini > > ./cidname.php > > ./blacklist.php > > ./cdrlog.php > > ./php.ini > > ./favicon.ico > > ./system.php > > > > > > On Mar 29, 2008, at 10:39 PM, Lonnie Abelbeck wrote: > >> Greetings, > >> > >> I have made an attempt at an alternate web interface to AstLinux. > >> > >> My design goals: > >> 1) Modular PHP design to easily add/delete tabs for different > >> applications. The PHP scripts can be used as templates for > >> additional tabs. > >> > >> 2) Most of the interface is Asterisk centric, tied to my dialplan, > >> but example snippets should make them fairly generic. The header of > >> the PHP scripts have snippets of dialplan examples. > >> > >> 3) No rc.conf configuration was attempted at this point. > >> > >> 4) This is the beginning, not the end, hopefully. > >> > >> Sample Sneak Peek Image: > >> http://lonnie.abelbeck.com/share/altweb.jpg > >> > >> Defined Tabs: > >> 1) Status (status.php) > >> An at-a-glance status page with system, openvpn, and asterisk > >> information. The default page. > >> > >> 2) Caller*ID (cidname.php) > >> Add and delete astdb > >> /cidname/2223334444 "John Doe" > >> entries. > >> > >> 3) Speed Dial (sysdial.php) > >> Add and delete astdb > >> /sysdial/49 "SIP/[EMAIL PROTECTED]" > >> entries. > >> > >> My dialplan looks something like this... > >> exten => _11[01234]X,1,Macro(dial-sysdial,${EXTEN:2:2}) ; DB: > >> sysdial/ > >> 00-49 > >> > >> 4) Blacklist (blacklist.php) > >> Add and delete astdb > >> /blacklist/2223334444 "1" > >> entries. > >> > >> 5) CDR Log (cdrlog.php) > >> Display cdr_custom.conf Master.csv file. The format must be defined > >> properly to work, see the header of cdrlog.php for more info. > >> > >> 6) System (system.php) > >> Change management password, backup /mnt/kd/, reload asterisk and > >> reboot system. > >> > >> Source found here: > >> http://lonnie.abelbeck.com/share/altweb.tar.gz > >> > >> Note: No ".htpasswd" file is included, so be sure to click the > >> "System" tab and set the password. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to [EMAIL > PROTECTED] > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]