Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Lex on April 08, 2002, 04:20:07 AM

Title: PHP-permission probs from ibays.
Post by: Lex on April 08, 2002, 04:20:07 AM
i am testing some apps skript based apps.

there are  probs with file upload, but only then it´s running in an ibay..
(yes cgi, php from server-manager is enabled)

from the primary dir ist works proper.

who have any idea?
Title: Re: PHP-permission probs from ibays.
Post by: Dan Brown on April 08, 2002, 04:51:53 AM
http://forums.contribs.org/index.php?topic=12689.msg47656#msg47656
Title: Re: PHP-permission probs from ibays.
Post by: Lex on April 08, 2002, 05:29:23 AM
The problem already exists...

i tried:

/sbin/e-smith/db accounts setprop foo PHPBaseDir /
/sbin/e-smith/signal-event ibay-modify foo

how is the right syntax?

databasename=forum
db_user=forum
ibay=portal = /home/e-smith/files/ibays/portal
Title: Re: PHP-permission probs from ibays.
Post by: Lex on April 08, 2002, 10:24:22 AM
now, its ok....

/sbin/e-smith/db accounts setprop foo PHPBaseDir /home/e-smith/files
# Where 'foo' is the name of the i-bay, and /home/e-smith/files is the new
# Base directory you wish to allow access to (see PHP doco for details).
/sbin/e-smith/signal-event ibay-modify foo