• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

/etc/apache2/conf.d/zz010_psa_httpd.conf

pikkuveli

New Pleskian
Hi

I would like to make the following change in this file /etc/apache2/conf.d/zz010_psa_httpd.conf

And change which I would like to make and there is the one following

DocumentRoot /usr/share/psa-horde/
Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<Directory /usr/share/psa-horde>
<IfModule mod_php4.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."

</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:/usr/share/psa-horde/lib:."
</IfModule>

TO

DocumentRoot /usr/share/psa-horde/
Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<Directory /usr/share/psa-horde>
<IfModule mod_php4.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
suPHP_Engine off
AddHandler php5-script .php
AddType text/html .php
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:/usr/share/psa-horde/lib:."
suPHP_Engine off
AddHandler php5-script .php
AddType text/html .php

</IfModule>

How could this be done... Where will I find the file zz010_psa_httpd.conf from, a template

With best regards

Jouni Ikäheimo
 
Plesk regenerates this file on just about every change you make to a domain, so modifying this file won't really work. The change is that you want to set suPHP_Engine off for Horde? Can't you create a separate .conf file in /etc/httpd/conf.d/ to do this? Otherwise you'll need to create a script that makes this change and make sure it is called through Plesk's Event Manager.
 
Ive put custom things like SSL protocol disable, ssl ciphers, etc into /usr/local/psa/admin/conf/httpsd.custom.include - you may be able to use something like that to do what you want.
 
Back
Top