Hi all,
I tried the following.
---
1)
Added
User someadminuser
Group site29
in /etc/httpd/conf/vhosts/site29.include
got this error when restarting httpd
Starting httpd: Syntax error on line 3 of
/etc/httpd/conf/vhosts/site29.include:
User cannot occur within <VirtualHost> section
---
2)
Added
User someadminuser
Group site29
in /etc/httpd/conf/vhosts/site29
before
<VirtualHost ...
no errors when restarting httpd, but
Now all uploads on all sites are owned by someadminuser:site29 and not
apache:apache, so I cant seem to get it to work!
Have you change anything in your config files "Dan Kriwitsky" ?
--
Thomas Jensen
----- Original Message -----
From: "thomas" <tfj-online (at mark) mail.tele.dk>
To: <coba-e (at mark) bluequartz.org>
Sent: Wednesday, July 30, 2008 9:40 PM
Subject: [coba-e:13640] Re: apache suexec
> Hi Rene, and all
>
> I'm not totaly sure but I think I got it working. I'll just run some more
> tests and see if it will work on a production server also and test
> different permissionsets 777 755 ...
>
> Get right back...
>
> --
> Thomas Jensen
>
> ----- Original Message -----
> From: "thomas" <tfj-online (at mark) mail.tele.dk>
> To: <coba-e (at mark) bluequartz.org>
> Sent: Wednesday, July 30, 2008 9:10 PM
> Subject: [coba-e:13639] Re: apache suexec
>
>
>> Hi Rene
>>
>> Just tried et out. It still uploaded and saved the file as apache:apache
>> ?
>>
>> ---------------------------------------
>> Thomas Jensen
>> ---------------------------------------
>>
>> ----- Original Message -----
>> From: "René MÍsted" <molsted (at mark) iweb.dk>
>> To: <coba-e (at mark) bluequartz.org>
>> Sent: Wednesday, July 30, 2008 8:47 PM
>> Subject: [coba-e:13638] Re: apache suexec
>>
>>
>>>> Hi All Blues,
>>>>
>>>> Has anyone successfully managed to run apache with suexec, so that the
>>>> settings on files uploaded and created within php are owned by the site
>>>> admin for the individual sites on the system.
>>>>
>>>> Now they always are owned by
>>>> apache:apache
>>>>
>>>> It should be possible to make apache/php save files so that they are
>>>> owned
>>>> by
>>>> someadminuser:site29
>>>>
>>>> Any pointers would be greatly appreciated :)
>>>
>>>
>>> Hi Thomas
>>> I suppose you could use the include-files automatically created.
>>> Try this (not tested, though)
>>>
>>> Insert in /etc/httpd/conf/vhosts/site29.include:
>>> SuexecUserGroup someadminuser site29
>>>
>>> Restart httpd:
>>> /etc/init.d/httpd restart
>>>
>>>
>>> --
>>> Rene
>>>
>>>
>>
>>
>>
>
>
>