[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Auto Setup Script Problems



> The automated signup scripts use a flat text file which contain the data to
> create the acounts (i would prefer a database for this, but that's an other
> story). In your order.php script you try to open this file for writing
> (probably to be able to create the acount with the createacount.pl script).
> Either the file you want to open does not exists at all or not for the user
> --> no rights to access. Remember a solutions would be to place that file in
> the webroot, but you do not want to put files like the userdata files in
> your webroot because it will be accessible through your webserver, so you
> have to work out the permissions issue.

I use a directory under web root to hold the cgi and the flat database files.
The directory belongs to the siteadmin and is chmod 711 as are all the
files in the directory.
The cgi scripts can read and write the flat db files. I am not currently using
this
for Auto Setup scripts, but it should work. The web server can execute the
cgi's but it can't see the files. (if I am doing something wrong YELL)
Gerald