• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

suPHP and httpd.include

H

HighKing

Guest
Hi,

We have a few new Plesk 8.3 / CentOS 5 machines that we are not using yet. We will migrate our shared servers to Plesk eventually. One thing we have on the shared servers is suPHP. We like this, because scripts run as the ftp-user, and not as 'apache' or whatever. This also helps us to track down hacked sites very easily, since the user name can be seen in the process list of the server. Besides the security advantages, a lot of our users have personal php.ini files.

Now I think moving to Plesk without suPHP as a step backwards. I don't like the idea...
Off course, I can manually install suPHP and I can manually update every vhost... but I don't like that idea as well...

The only problem I can think off with installing suPHP, is the vhost configuration. Is there any way of changing the httpd.include in advance? I just need it to have the next line in it:
Code:
suPHP_UserGroup $ftpuser psacln
where $ftpuser off course has to be replaced by the actual ftp username.

I understand I could make use of vhost.conf, but then I still need a way of including that in httpd.include automatically.

Does anyone know how to do this?
BTW: I think it's a shame Parallels doesn't support suPHP out of the box...
 
Also use suphp, but the file is overwritten httpd.include
automatically. Prompt it is possible to override the domain config?
p.s.
Config zz010_psa_httpd.conf not offer, he also is overwritten automatically
 
всё просто,
отключил поддержку php в настройках домена, соответственно настройки mod_php затираются в httpd.include.
настройки suphp прописал в vhost.conf
 
Back
Top