Re: [Asterisk-Users] webvmail debian package
Hi On Mon, Jun 20, 2005 at 09:25:13AM +0200, sylvain garcia wrote: > Hi, > > I wouldlike use webvmail on my asterisk, I use debain Sarge with > asterisk 1.0.7 package. > I have installed package "asterisk-web-vmail" but when i go to > http://MyAsteriskBOx, i have a page of presentation of Apache. The list of files in the package: http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=asterisk-web-vmail&version=stable&arch=all /usr/lib/cgi-bin is Debian's /cgi-bin . Thus the script is by-default at http://hostname/cgi-bin/asterisk/vmail.cgi Also note that you need to allow the script to read/write /etc/asterisk/voicemail.conf and /var/spool/asterisk/voicemail/ . This can basically be done in two ways: 1. add the user www-data (apache) to the group asterisk - Every apache script has full access to asterisk - and if you still run asterisk as root, this is a potential root exploit 2. This is a separate cgi script: use suexec to run it as the asterisk user. However I must admit I found no straight-forward way of doing it for that script alone. However in Rapid the vmail script is currently disabled: I wanted to try to adapt it to our slightly different voicemail configuration and noticed that the script has quite a bit of sphagetty in it. . I didn't want to start modifying perl code that does not use strict and didn't find the time to rewrite it to use strict. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] webvmail debian package
ok but i don't know where is the web space with cgi scripts. the package "asterisk-web-mail" don't install cgi script, i think Scott Kamp a écrit : remove the default index.html from /var/www/htdocs and/or be sure the apache default DocumentRoot is pointing to the web space and not the default debian pages On Mon, 2005-06-20 at 09:25 +0200, sylvain garcia wrote: Hi, I wouldlike use webvmail on my asterisk, I use debain Sarge with asterisk 1.0.7 package. I have installed package "asterisk-web-vmail" but when i go to http://MyAsteriskBOx, i have a page of presentation of Apache. Could you help me please? Thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] webvmail debian package
remove the default index.html from /var/www/htdocs and/or be sure the apache default DocumentRoot is pointing to the web space and not the default debian pages On Mon, 2005-06-20 at 09:25 +0200, sylvain garcia wrote: > Hi, > > I wouldlike use webvmail on my asterisk, I use debain Sarge with > asterisk 1.0.7 package. > I have installed package "asterisk-web-vmail" but when i go to > http://MyAsteriskBOx, i have a page of presentation of Apache. > > Could you help me please? > > Thanks > > > ___ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] webvmail debian package
Hi, I wouldlike use webvmail on my asterisk, I use debain Sarge with asterisk 1.0.7 package. I have installed package "asterisk-web-vmail" but when i go to http://MyAsteriskBOx, i have a page of presentation of Apache. Could you help me please? Thanks ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users