Page 1 of 1
How can i view and listen to the record files through web?
Posted:
Fri Feb 22, 2008 3:20 am
by erge
hi,guys.
How can i view and listen to the record files through the admin's web?
i'm using the VICIDIALNOW.
Posted:
Fri Feb 22, 2008 5:36 am
by ramindia
Hi
you can not view them directly
alternative method is
create a virrtual directory in web server
and link the recording directory to virtual directory
ram
Virtual Directory
Posted:
Mon Mar 31, 2008 12:15 pm
by mario.andres
Hi,
I know that this is an Vicidial Forum and we should know a lot of Linux but i dont know how to create a virtual directory in order to see and listen the records.
Could you help me with that?
I only have one server where the vicidial is instaled.
Best regards,
Posted:
Mon Mar 31, 2008 4:38 pm
by ramindia
Hi
you can create a directory under
/var/www/html/urname ( ur name is directory)... this is if you are using centos or FC
then copy the recording monitor directory to above directory
type in your browser
http://vicidialip/urname
or you can do linking
ln -s monitor /var/www/html/urname ( monitor refer the recording directory)
ram
Virtual Directory
Posted:
Mon Mar 31, 2008 5:00 pm
by mario.andres
When i copy the record file in the directory that i create in /var/www/html i can access without a problem but when i use the other way by linking:
ln -s monitor /var/www/html/urname ( monitor refer the recording directory)
I recieve the following message in the explorer:
Forbidden
You don't have permission to access /records2 on this server.
But, i have check the permisses and i can read the records in all types of permisses.
[root@vicidialnow monitor]# ls -la
total 32
drwxrw-rw- 4 root root 4096 Mar 27 18:36 .
drwxr-xr-x 9 root root 4096 Mar 25 12:25 ..
drwxrw-rw- 2 root root 4096 Mar 27 18:36 DONE
drwxrw-rw- 2 root root 4096 Mar 27 18:36 ORIG
[root@vicidialnow monitor]# cd DONE/
[root@vicidialnow DONE]# ls -la
total 144
drwxrw-rw- 2 root root 4096 Mar 27 18:36 .
drwxrw-rw- 4 root root 4096 Mar 27 18:36 ..
-rw-r--r-- 1 root root 126764 Mar 27 18:36 20080327-173414_193492135-all.wav
What could be happening?
Thanks.
PD: Im using VicidialNow(Centos).
Posted:
Mon Mar 31, 2008 6:42 pm
by seaq
Look for FollowSymlinks option in your apache configuration
httpd
Posted:
Mon Mar 31, 2008 8:32 pm
by mario.andres
I have entered to httpd.conf
I think you are talking about:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
What should i change?
I was searching for information. I have changed AllowOverride All but nothing happens.I also try with Options FollowSymLinks but nothing happens.
do you have any advice?
Best regards,
Posted:
Mon Mar 31, 2008 10:35 pm
by seaq
try disabling selinux then,
setenforce 0
and check your apache error logs probably it would give you more data.