[suPHP] Using suPHP with non real system users

Damien Varron diams99 at yahoo.fr
Thu May 22 18:27:29 CEST 2008


Well actually, all my conf is in my previous posts : 
http://lists.marsching.com/pipermail/suphp/2008-May/001927.html && 
http://lists.marsching.com/pipermail/suphp/2008-May/001929.html
But my problem was not due to configuration but to chown permissions.

As I said in this post : 
http://lists.marsching.com/pipermail/suphp/2008-May/001930.html , it was 
because your path has to be owned by root all the way long, until the 
directory that contains your web site and it's subdirectories. Those one 
have to belong to their actual "non real system" user. That's all. At least, 
it worked for me. Good Luck.

damien


----- Original Message ----- 
From: <suphp-request at lists.marsching.biz>
To: <suphp at lists.marsching.biz>
Sent: Wednesday, May 21, 2008 12:00 PM
Subject: suPHP Digest, Vol 50, Issue 15

> Date: Tue, 20 May 2008 22:06:47 +0100
> From: "Jorge Bastos" <mysql.jorge at decimal.pt>
> Subject: Re: [suPHP] Using suPHP with non real system users
> Cc: <suphp at lists.marsching.biz>
> Message-ID: <02eb01c8babd$6af51110$40df3330$@jorge at decimal.pt>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hey Damien,
>
> Can you give me a hand on your suphp.conf and apache configurations?
> Is that I have non-system users also, and never worked :(
>
> Jorge
>
>
>
>> -----Original Message-----
>> From: suphp-bounces at lists.marsching.biz [mailto:suphp-
>> bounces at lists.marsching.biz] On Behalf Of Damien Varron
>> Sent: ter?a-feira, 20 de Maio de 2008 1:53
>> To: Brock Noland
>> Cc: suphp at lists.marsching.biz
>> Subject: Re: [suPHP] Using suPHP with non real system users
>>
>> 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
>>
>>
>> _______________________________________________
>> suPHP mailing list
>> suPHP at lists.marsching.biz
>> http://lists.marsching.com/mailman/listinfo/suphp 




More information about the suPHP mailing list