tony banks
2004-Jan-12 09:45 UTC
[Asterisk-Users] Issue - vmail.cgi on Redhat 9 (Apache) ?
An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040112/a6f17a16/attachment.htm -------------- next part -------------- Hello I found related question on vmail.cgi in the mailing list but that didn't answer my question. I did copy the vmail.cgi to /var/www/cgi-bin/ but still gets the following error message when I access http://XXX.XX.XX.XXX/cgi-bin/vmail.cgi The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: vmail.cgi Please advise Regards Tony
--- tony banks <tony_banks@rediffmail.com> wrote:> Hello > > I found related question on vmail.cgi in the mailing > list but that didn't answer my question. I did copy > the vmail.cgi to /var/www/cgi-bin/ but still gets > the following error message when I access > http://XXX.XX.XX.XXX/cgi-bin/vmail.cgi > > The server encountered an internal error and > was unable to complete your request. > > Error message: > Premature end of script headers: vmail.cgi > > Please advise > > Regards > TonyYou shouldn't copy vmail.cgi over to the cgi-bin directory, you should install it using make webvmail. You also need to make sure you have the perl-suidperl package installed. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/
Chris Albertson
2004-Jan-12 13:20 UTC
[Asterisk-Users] Issue - vmail.cgi on Redhat 9 (Apache) ?
Is the file "vmail.cgi" executable by the user that apache runs as? POssably you need to chown apache.apache vmail.cgi chmod +x vmail.cgi --- tony banks <tony_banks@rediffmail.com> wrote:> Hello > > I found related question on vmail.cgi in the mailing list but that > didn't answer my question. I did copy the vmail.cgi to > /var/www/cgi-bin/ but still gets the following error message when I > access http://XXX.XX.XX.XXX/cgi-bin/vmail.cgi > > The server encountered an internal error and was unable to > complete your request. > > Error message: > Premature end of script headers: vmail.cgi > > Please advise > > Regards > Tony====Chris Albertson Home: 310-376-1029 chrisalbertson90278@yahoo.com Cell: 310-990-7550 Office: 310-336-5189 Christopher.J.Albertson@aero.org KG6OMK __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
woody+asterisk@solutionsfirst.com.au
2004-Jan-12 16:40 UTC
[Asterisk-Users] Issue - vmail.cgi on Redhat 9 (Apache) ?
________________________________ From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of tony banks Sent: Tuesday, 13 January 2004 3:46 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Issue - vmail.cgi on Redhat 9 (Apache) ? Hello I found related question on vmail.cgi in the mailing list but that didn't answer my question. I did copy the vmail.cgi to /var/www/cgi-bin/ but still gets the following error message when I access http://XXX.XX.XX.XXX/cgi-bin/vmail.cgi The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: vmail.cgi Please advise Regards Tony This is the apache general error message, presented to the web browser, you want to look in /var/log/apache/error.log (or similar) which should have something more detailed. Also you can try running vmail.cgi from the command line to see what errors you get and look them up in google. Cheers, Woody
Try with: make webvmail from source directory. ----- Original Message ----- From: tony banks To: asterisk-users@lists.digium.com Sent: Monday, January 12, 2004 1:45 PM Subject: [Asterisk-Users] Issue - vmail.cgi on Redhat 9 (Apache) ? Hello I found related question on vmail.cgi in the mailing list but that didn't answer my question. I did copy the vmail.cgi to /var/www/cgi-bin/ but still gets the following error message when I access http://XXX.XX.XX.XXX/cgi-bin/vmail.cgi The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: vmail.cgi Please advise Regards Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040112/b80af6c9/attachment.htm