[suPHP] Using suPHP with non real system users
Jorge Bastos
mysql.jorge at decimal.pt
Thu May 22 13:16:54 CEST 2008
Ei Brock,
So, I compiled suphp with:
sh configure --with-apxs=/usr/bin/apxs2 --with-min-uid=5000
--with-min-gid=4901 --with-apache-user=www-data
--with-logfile=/var/log/suphp/suphp.log CPPFLAGS=-I/usr/include/apr-0
--sysconfdir=/etc/suphp --disable-checkuid --disable-checkgid
--with-setid-mode=paranoid --disable-checkpath
/etc/suphp/suphp.conf is attached.
I must remember that I use a different handler for .phpx files.
The suphp module is being loaded like this:
LoadModule suphp_module /usr/lib/apache2/modules/mod_suphp.so
And in the virtualhost I have:
<VirtualHost *>
suPHP_Engine on
AddType application/x-httpd-phpx .phpx
suPHP_AddHandler application/x-httpd-phpx
<IfModule mod_suphp.c>
suPHP_UserGroup #5058 #4901
</IfModule>
......(rest of configurations).....
</VirtualHost>
Can you help?
> -----Original Message-----
> From: Brock Noland [mailto:brockn at gmail.com]
> Sent: terça-feira, 20 de Maio de 2008 23:48
> To: Jorge Bastos
> Cc: suphp at lists.marsching.biz
> Subject: Re: [suPHP] Using suPHP with non real system users
>
> On Tue, May 20, 2008 at 5:08 PM, Jorge Bastos <mysql.jorge at decimal.pt>
> wrote:
> > You're asking about error log from apache correct?
>
> You don't have a line number. It would be nice to something like this:
>
> SoftException in Application.cpp:544: Directory "path/to/dir" is
> writeable by group
>
> What does the suphp_log look like? Maybe the lookup exception's don't
> have line numbers.
>
> Could you please send a link or attach a tar.gz with your suphp and
> all apache configs?
>
> Brock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: del.zip
Type: application/x-zip-compressed
Size: 9279 bytes
Desc: not available
Url : http://lists.marsching.com/pipermail/suphp/attachments/20080522/5cbfb365/attachment.bin
More information about the suPHP
mailing list