Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2016-01-14 13:03:50

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: WebFaction users

Do websites have to be in the root of the /webapps directory?

Could you structure that directory like this, for example:

  • webapps/
    • group/
      • domain1
      • domain2
      • domain3
    • indie

So that multiple users can be given SFTP access to the /group directory only (and thus all domains in it), and not to the /indie directory at all? That’s what I’m trying to achieve, anyway.

Offline

#17 2016-01-14 15:32:25

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,205
Website GitHub

Re: WebFaction users

Here’s the instructions for granting access permissions and here’s a further info on granting access to specific users which is less comfortable but I’ve used before to provide access to someone else to a separate directory. When the SFTP into the server, they arrive at the base, so you need to set up a symlink that takes them directly to their respective app.

What I’m not sure about is whether you can do group/domain1, domain2, domain3 all within one web app or whether those each have to be separate webapps.


TXP Builders – finely-crafted code, design and txp

Offline

#18 2016-01-14 15:45:42

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: WebFaction users

It would work if I could assign multiple access paths for a given user (even if a bit tedious), but the UI doesn’t seem to allow that. Either a user has access to all webapps, or only one specific app. Seems a bit screwy.

Offline

#19 2016-01-15 06:38:33

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,260
Website Mastodon

Re: WebFaction users

Destry wrote #297388:

It would work if I could assign multiple access paths for a given user (even if a bit tedious), but the UI doesn’t seem to allow that. Either a user has access to all webapps, or only one specific app. Seems a bit screwy.

i have set up a couple of jailed users. it wasn’t dead simple… but it seems to work. How tio give a user SFTP access to their file space. They can’t create a db or have mysql access:

see

much like the old jailed solution SexyFileManger that we had on Textdrive

Last edited by bici (2016-01-15 06:41:27)


…. texted postive

Offline

#20 2016-01-15 10:32:43

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: WebFaction users

bici wrote #297396:

see

Cool. That looks like it’s going in the right direction. This one, in particular.

One more question… in what directory do you put the permissions.sh file holding the script?

Offline

#21 2016-01-15 20:05:45

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,260
Website Mastodon

Re: WebFaction users

Destry wrote #297401:

Cool. That looks like it’s going in the right direction. This one, in particular.

One more question… in what directory do you put the permissions.sh file holding the script?

in your root directory … not in /webapps/


…. texted postive

Offline

#22 2016-01-19 08:26:21

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,388
Website GitHub Mastodon Twitter

Re: WebFaction users

Would this affect txp users?

ie:

  • users creation
  • password resetting
  • send comments
  • zcr
  • postmaster

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#23 2016-01-19 08:38:16

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,260
Website Mastodon

Re: WebFaction users

colak wrote #297482:

Would this affect txp users?

ie:

  • users creation
  • password resetting
  • send comments
  • zcr
  • postmaster

“Switch to using our SMTP server – smtp.webfaction.com”

doesn’t this solve all the issues? or am I missing something?

It’s all about sending emails right? i only use smtp.webfaction.com as i tis.


…. texted postive

Offline

#24 2016-01-19 09:07:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,388
Website GitHub Mastodon Twitter

Re: WebFaction users

Hi bici, how did you do that? Is it just a matter of adding smtp.webfaction.com in the advance preferences? What about the ports they are talking about?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#25 2016-01-19 17:59:56

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: WebFaction users

colak wrote #297482:

Would this affect txp users?

No. Txp uses the PHP mail function which by default uses the sendmail binary.

Offline

#26 2016-01-19 18:25:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,388
Website GitHub Mastodon Twitter

Re: WebFaction users

ruud wrote #297489:

No. Txp uses the PHP mail function which by default uses the sendmail binary.

phew!


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#27 2016-01-20 04:08:02

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,260
Website Mastodon

Re: WebFaction users

colak wrote #297484:

Hi bici, how did you do that? Is it just a matter of adding smtp.webfaction.com in the advance preferences? What about the ports they are talking about?

I may have led you astray. i don’t actually tie it into txp.


…. texted postive

Offline

#28 2016-01-20 10:47:54

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: WebFaction users

I have WF email accounts setup in Apple Mail. Ports were established automatically. Yesterday I stopped being able to send out via Mail, and sure enough the outgoing servers using smtp.webaction.com were on port “25”.

But the fact they stopped working doesn’t make sense because Apple Mail is not a server, and WF even says, “Port 25 traffic will only be allowed to our outbound email server – smtp.webfaction.com.” I’ve tried changing them to ports 465 or 587, as indicated in the WF notice, but I can’t get it to work anymore.

Just after I finally had all my associated mail accounts (different projects) configured and working on one client. A first after years of trying. Short lived. Sigh

Edit: Apple Mail is actually indicating that the outgoing server (smtp.webfaction.com) is “offline”, regardless of which port I use. Anyone else having that problem, or am I the only lucky one.

Edit 2: Got it working. It was actually two problems. Docs for Mail El Capitan make clear it’s port 587. But the real problem for me, apparently was my “mailbox name” was the email and not the actual name. Changed that and the warp drive fired up instantly. Star bound! [My inbound mail was working, so it could be my outbound mail wasn’t working from the start and I didn’t realize it because I was receiving mail.]

Last edited by Destry (2016-01-20 12:40:50)

Offline

#29 2016-01-20 16:37:15

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,260
Website Mastodon

Re: WebFaction users

Destry – Your inbox in apple mail can be called anything. Your user name MUST be the same as your WebFaction MAILBOX. i use mailbox names in the form of DOMAIN_EMAIL. eg. bicilogic_coppi This USERNAME has to be used for incoming and outgoingsettings…

My settings are imap and i have always used port 587. For outgoing I set: use SSL and authentication: password.

Last edited by bici (2016-01-21 06:45:33)


…. texted postive

Offline

#30 2016-02-23 10:09:06

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: WebFaction users

Regarding HTTPS

We want to move to it at CSF, and it looks like letsencrypt.org (LE) is now pubic beta and making free certificates available, but it’s a bit over my head.

A couple of related but independent questions:

  1. LE has an Apache plugin, apparently, for installing the certificate… Can that be used at WebFaction? (I’m guessing yes since it’s Apache servers, but not sure if there are some constraints in the access requirements.)
  2. What does this HTTPS info at WF mean… Can you just turn on HTTPS, or do you still need to buy/acquire a certificate somewhere, such as from LE?

Any help spinning me in the right direction is appreciated.

Offline

Board footer

Powered by FluxBB