[suPHP] Using suPHP with non real system users

Damien Varron diams99 at yahoo.fr
Tue May 20 02:52:48 CEST 2008


uh, it works !!!
Based on your question, how was my hole directory structure, I discovered it 
was owned by dvarron instead of root, and changed that just before answering 
you, and #tada# it now works !!!
Well, thank you so much, it went quite quick !

So I assume the whole directory should be owned by root, and then only the 
directory by the wanted #UID : #GID, right ?
Anyway, I'm glad it's ok now. I can finally move on !

Thanks again !
damien

----- Original Message ----- 
From: "Brock Noland" <brockn at gmail.com>
To: "Damien Varron" <diams99 at yahoo.fr>
Cc: <suphp at lists.marsching.biz>
Sent: Tuesday, May 20, 2008 2:18 AM
Subject: Re: [suPHP] Using suPHP with non real system users


> On Mon, May 19, 2008 at 7:10 PM, Damien Varron <diams99 at yahoo.fr> wrote:
>> You can see two examples :
>> http://black.assoces.com/info.php running fine, with no particular 
>> settings,
>> currently paranoid mode, default vhost, file owned by dvarron:www-data
>> and
>> http://ricarembar.assoces.com/info.php giving the 500 error, with 
>> following
>> vhost :
>
> What is the error in suphp.log? I assume a mismatch error but It would
> be great to see the log message.
>
>>
>> <VirtualHost *>
>>   ServerName ricarembar.assoces.com
>>         suPHP_Engine on
>>         suPHP_UserGroup #2135 #33
>>         suPHP_ConfigPath /etc/php5/cgi
>>         AddHandler x-httpd-php .php .php3 .php4 .php5
>>         DocumentRoot
>> /home/httpd/assoces.com/listesbde/2006-2007/ricarembar/html
>> </VirtualHost>
>> and accordingly chowned by 2135:33 along with the hole directory and 
>> parent
>> directory.
>
> What is the ownership of the entire directory structure?
>
> /home/httpd/assoces.com/listesbde/2006-2007/ricarembar/html
>
>> Don't know what to add and hope for your answers.
>> Thanks in advance.
>> (and please excuse my english, I'm french, yup, no one's perfect...)
>
> Don't worry about the English. As a native speaker...Its a hack of a
> language anyway.
>
> Brock 




More information about the suPHP mailing list