[Asterisk-Users] vmail.cgi -> .php?

ast at uc9.net ast at uc9.net
Mon Mar 1 09:34:51 MST 2004


On Mon, 1 Mar 2004, Tilghman Lesher wrote:

> On Sunday 29 February 2004 15:15, Ryan Courtnage wrote:
> > Has anyone attempted to convert vmail.cgi to php?
> > I'll take it in any stage of development.
> >
> > This, or any other php interface to VM, would be greatly
> > appreciated!
> 
> Ain't gonna work unless your Apache server runs as root or
> as the same user Asterisk runs as.  This is due to the fact that
> PHP runs within the same process as Apache, and Unix/Linux
> prevents privilege escalation, for security reasons.  The CGI runs
> in a separate process, with special permissions.
> 
> -Tilghman
> 

You could also setup asterisk to save the vm files as another user.
Michael




> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 




More information about the asterisk-users mailing list