httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Can't Insert Row Into a SQLite DB on server
Date Sun, 08 Feb 2009 01:16:30 GMT
Akbar wrote:
> 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)
Yes (you can not).

> 
> Maybe then, i can put the database file in a folder to which the 
> user/group www can write. Thanks.
You could do that also.

> 
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message