Major changes in this update.

Darrick suggested that it would be very convenient for the Status tab  
to appear without a password, while the other tabs would be password  
protected.  I was able to implement this, but it requires many of the  
php files to move, so you should treat this as a new install, don't  
copy these files over your previous, or you will have a mess.

A) Save your current "prefs.txt" file if you wish, it goes back in  
the same location, at the base of your web directory.

B) The .htpasswd file moves from the base of the web directory to the  
new admin/ directory.  Just make a new password in a clean directory  
if you wish.

C) The httpd daemon doesn't like having it's base directory swapped  
our from under it, so you will have to reboot after installing the  
new directory.

In addition to the password'less Status tab...

1) CDR Log tab has two new Prefs tab options:
1a) "Use default Asterisk CDR Master.csv Format", when checked I will  
parse the default standard asterisk CDR Master,csv file format rather  
than the custom format specified in the cdrlog.php comments.  
Unchecked by default.

1b) "CDR Log Path:" is a text entry to specify where the CDR is  
located, the default is shown.

2) The "CID Name Max Length:" Prefs tab option was added to restrict  
the length of the "CID Name:" textbox in the Caller*ID: tab. 15 is  
the default.  Additionally the Number textbox fields have a larger  
maxlength of 24.

3) Because the base directory no longer has a .htpasswd file, you can  
point both http and https to the same directory if you wish, the http  
hit will be redirected to https://hostname/status.php.

4) I fixed a couple of issues, so you can run with http (but https is  
recommended), with HTTPUSER=root in your rc.conf.d/user.conf file,  
access with http://hostname/status.php since the index.php will  
redirect to https.


Note different link below because of the new files layout...

Source found here: (untar's into altweb/ directory)
http://lonnie.abelbeck.com/astlinux/altweb.tar.gz

Enjoy,
Lonnie

FYI:
$ tar xzvf altweb.tar.gz
altweb/
altweb/common/
altweb/common/style.css
altweb/common/tableft.gif
altweb/common/tabright.gif
altweb/common/result.php
altweb/common/header.php
altweb/common/functions.php
altweb/common/footer.php
altweb/status.php
altweb/php.ini
altweb/index.php
altweb/favicon.ico
altweb/admin/
altweb/admin/whitelist.php
altweb/admin/view.php
altweb/admin/system.php
altweb/admin/sysdial.php
altweb/admin/prefs.php
altweb/admin/network.php
altweb/admin/index.php
altweb/admin/cidname.php
altweb/admin/cdrlog.php
altweb/admin/blacklist.php


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
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]

Reply via email to