[BlueOnyx:06482] Re: suphp - via SSH and multiple sites?

Jeff Jones jeffrhysjones at mac.com
Mon Feb 7 17:25:17 -05 2011


Hmm - found suphp.conf in /etc

Possible to edit the min_gui there...

Might give that a shot...

Jeff

On 7 Feb 2011, at 22:15, Jeff Jones wrote:

> Thanks Chuck - that does actually help - at least I can have a crack at using suphp on a test site now.
> 
> If there was a way to get it working via a single site admin account - that would avoid me having to create site admins for every single site. 
> 
> SFTP-ing in to a site using a server admin account - the UID seems to work fine, the problem *seems* to be the GID - this is set as 'users' rather than 'sitex' GID.
> 
> So.....
> 
> 'GID of script "/home/.sites/143/site2/web/index.php" is smaller than min_gid'
> 
> ....is the error you get when you try to upload to a site using a site admin account.....
> 
> I notice that the GID of 'users' appears to be 100, whereas the GID of 'site2' is 500 - and hence the error.
> 
> So where does suphp set the min_gid then?
> 
> Can I just hard code it to 100?
> 
> Cheers,
> 
> Jeff
> 
> 
> 
> 
> 
> On 7 Feb 2011, at 21:25, Chuck Tetlow wrote:
> 
>> I know this doesn't fix all your problems, and isn't the real answer to your question... 
>> 
>> But a site admin can SFTP/SSH if you allow SSH or shell access for that site.  Under the left-side "Services" option, go to "Shell Access" and enable it for that site. 
>> 
>> 
>> 
>> Chuck 
>> 
>> 
>> 
>> ---------- Original Message ----------- 
>> From: Jeff Jones <jeffrhysjones at mac.com> 
>> To: Blueonyx at blueonyx.it 
>> Sent: Mon, 07 Feb 2011 20:16:56 +0000 
>> Subject: [BlueOnyx:06477]  suphp - via SSH and multiple sites? 
>> 
>> > This one really has me stumped - could really use a solution to this one guys please!!! 
>> > 
>> > I have a BX server - that is hosting 10 plain and simple Wordpress sites - all ours, and with the same developers uploading code for all sites over the course of a day. 
>> > 
>> > We can not use FTP/ FTPS due to NAT / Firewall restrictions with our setup - SFTP/SSH is fine though. 
>> > 
>> > We are unable to find a workable setup with BX where we can update wordpress via SFTP/SSH, without us having to go in an chown all the files on a site to apache. 
>> > 
>> > We have tried the suphp function - but it seems this only works with the siteadmin - we do not want to have to create 10 siteadmins, and regardless - the site admin can only upload files via FTP - not SFTP (via SSH). Annoyingly - siteadmins can not SFTP/SSH. 
>> > 
>> > What we really want is to get suphp working with one account - like the server admin account. 
>> > 
>> > Does anyone know how this is possible? 
>> > 
>> > We could then use this one 'global' account and update all 10 sites via SFTP. 
>> > 
>> > Cheers, 
>> > 
>> > Jeff 
>> > 
>> > Jeff Jones 
>> > jeffrhysjones at mac.com 
>> > 
>> > _______________________________________________ 
>> > Blueonyx mailing list 
>> > Blueonyx at blueonyx.it 
>> > http://www.blueonyx.it/mailman/listinfo/blueonyx 
>> ------- End of Original Message ------- 
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at blueonyx.it
>> http://www.blueonyx.it/mailman/listinfo/blueonyx
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20110207/69e21280/attachment.html>


More information about the Blueonyx mailing list