Indexing page for your recordings

Discussions about new features or changes in existing features

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Indexing page for your recordings

Postby okli » Mon Nov 10, 2008 2:29 pm

While searching for an easy way to index and display all our recordings, with search facility and basic authentication, I came across this one:
http://autoindex.sourceforge.net/

Well, it served exactly our needs.

How I did it in short- create a new folder /var/www/recordings (debian).
Extract there the contents of autoindex files.
Make a symlink to your recordings FTP directory, in our case it's /home/ftp/cron/RECORDINGS.


ln -s /home/ftp/cron/RECORDINGS/ /var/www/recordings/RECORDINGS
chown -R -h www-data:www-data /var/www/recordings

To be able to use admin.php page and lead search with link to each recording, I created a second symlink

ln -s /home/ftp/cron/RECORDINGS/ /var/www/RECORDINGS

astguiclient.conf
Code: Select all
....
# FTP recording archive connection information
VARFTP_host => 10.17.17.4
VARFTP_user => cron
VARFTP_pass => mypassword
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://our.web.site/RECORDINGS
...


Indexes are disabled in apache2.conf:

Code: Select all
...
DocumentRoot /var/www/

   <Directory />
      Options FollowSymLinks
      AllowOverride None
   </Directory>
   
   <Directory /var/www/>
      Options -Indexes FollowSymLinks MultiViews
      AllowOverride AuthConfig Indexes Options
      Order allow,deny
      Allow from all
      # This directive allows us to have apache2's default start page
        # in /apache2-default/, but still have / go to the right place
        RedirectMatch ^/$ /apache2-default/
   </Directory>
....

Set the appropriate permissions for the sensitive files.
When setting up AutoIndex put ./RECORDINGS/ for Base Directory.
The same way was for /var/www/reports, all our reports are copied daily to /home/ftp/cron/REPORTS.

Hope this helps for anyone with similar to our needs.
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

Postby mflorell » Mon Nov 10, 2008 5:53 pm

Thanks for posting this! :)
mflorell
Site Admin
 
Posts: 18338
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby anandkumargupta » Thu Jan 29, 2009 10:16 am

Hi Guys,

Watch this link for more information.

http://www.eflo.net/VICIDIALforum/viewtopic.php?t=7002
anandkumargupta
 
Posts: 16
Joined: Wed Nov 01, 2006 7:36 am
Location: Noida,India

Postby kolucoms6 » Thu Jan 29, 2009 12:02 pm

But where did I make mistake ?

I cant see recordings..
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India


Return to Features

Who is online

Users browsing this forum: No registered users and 30 guests