[asterisk-users] Access rights between AGI and Web server?
Al Baker
bwentdg at pipeline.com
Sun Mar 23 07:21:36 CDT 2008
Why are you using "AGI Scripts" to get to MySLQ instead of the MYSQL
add-on package. It seems that would be a hell of a lot more efficient as
well as easier to code.
Please share as I am very very curious about this as I will soon be
facing it on a Large project.
Thx
Vincent wrote:
> Hello
>
> I run AGI scripts from extensions.conf to save data into an SQLite
> database file, but this file must also be accessible in read-write
> mode by PHP scripts served by Lighttpd.
>
> As far as I can tell, Asterisk runs by default as root:wheel. I don't
> know if AGI scripts also run as root:wheel.
>
> Lighttpd runs as www:www, and if I create a new SQLite database
> through PHP scripts, they're created as www:wheel.
>
> What do you recommend I do so both AGI scripts and PHP scripts can
> work with a common SQLite file? Should I run Asterisk as www:www,
> www:wheel? Something else?
>
> Thank you.
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
More information about the asterisk-users
mailing list