On Mon, Mar 24, 2008 at 01:57:53PM -0800, Mojo with Horan & Company, LLC wrote:
> P.S. This is not typical, right? If I do NOT have write access to a
> directory, I can still write to files that already exist in that
> directory, as long as I have write access to said files, I think...
> Mayb
On Sun, Mar 23, 2008 at 06:34:01PM -0700, Steve Edwards wrote:
> Does "large" mean voluminous or complex?. AGI's allow you to "wrap"
> complex logic into a single dialplan step. I confess I've never used the
> MySQL dialplan interface, but the idea of keeping track of several
> (nested) result s
On Sun, Mar 23, 2008 at 11:05:23AM +0100, 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 d
Glad you got it!
Moj
P.S. This is not typical, right? If I do NOT have write access to a
directory, I can still write to files that already exist in that
directory, as long as I have write access to said files, I think...
Maybe I'm just talking out loud, but it seems like if you had write
On Mon, 24 Mar 2008 12:09:00 -0800, "Mojo with Horan & Company, LLC"
<[EMAIL PROTECTED]> wrote:
>Now, that was run under a webserver. right? not under asterisk as an
>AGI? I thought we were expecting to see root:wheel :)
Yup, sorry about: I forgot to say that I use a single SQLite database
to sh
Vincent wrote:
> On Mon, 24 Mar 2008 11:05:32 -0800, "Mojo with Horan & Company, LLC"
> <[EMAIL PROTECTED]> wrote:
>
>> >$u = posix_getpwuid(posix_getuid());
>>$g = posix_getgrgid(posix_getgid());
>>echo "This script is running as ".$u['name'].":".$g['name'];
>> ?>
>>
On Mon, 24 Mar 2008 11:05:32 -0800, "Mojo with Horan & Company, LLC"
<[EMAIL PROTECTED]> wrote:
>If the AGIs do run as root:wheel, then there should be no problem,
>because they should be able to access the db files?
I agree, but even after uninstalling Lighttpd and installing Apache2,
just to ma
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
On Sun, 23 Mar 2008 19:55:32 -0600, "Chris Carey"
<[EMAIL PROTECTED]> wrote:
>Correction: I run the web server and asterisk both as the user asterisk
I wish I could, but I have no idea how to safely tell Asterisk to run
as www instead of root, as it does now. I assume I'll have to
chmod/chown a b
On Sun, 23 Mar 2008, Vincent wrote:
> 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
>
>
> 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?
>
Correction: I run the web server and asterisk both as the user asterisk
___
-- B
>
> 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?
>
I run the web server and apache both as the user asterisk
___
-- Bandwidth and C
Thanks for the top-post :)
> Vincent wrote:
>>
>> 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.
On Sun, 23 Mar 2008, Al Baker wrote:
> Why are you using "AGI
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
>
>
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:wh
15 matches
Mail list logo