Re: Can't Insert Row Into a SQLite DB on server

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

 



André if nothing else, i learned something, thank you. let me see how this goes...
User www
Group www

hmm... Is it correct to say that I cannot make that database file writeable by using a <directory> or <file> directive?
(i just read your other email)

Maybe then, i can put the database file in a folder to which the user/group www can write. Thanks.

André Warnier wrote:
Akbar wrote:
Thank you André, that was pretty gentle. I'll give that information in the future.

It's Apache 1.3 that comes with Mac OS X Tiger.

I'm not sure how to find out which user started the Apache server. I have a guess that it's the admin account on my computer.


I don't know that environment at all, but you should look at the apache.conf or httpd.conf file. Apache usually starts as "root" or "administrator", but then switches to another user with less permissions.
There should be 2 lines
User xxxxx
Group yyyyy
in the configuration file, that indicate which user/group it runs under.
In your case, you may want to change the Group to a group that has write permissions to the SQL folder. If there are other applications running under Apache though, be aware that this may cause them to have problems.

But maybe it is safer to wait for someone else's comment, who knows how things work under Mac OS X Tiger.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux