• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

suphp and Power Toys

cotus

New Pleskian
Hi,
I've bought Power Toys and followed the tutorial at http://www.grafxsoftware.com/faq.php...ed-Server/1/4/ but I can't make it working.
At seams I'm not even able to make the site following the php.ini inside httpdocs.
Here is the resulting httpd.include :
<VirtualHost 192.168.1.2:80>
ServerName domainname:80
SuexecUserGroup userftp psacln
DocumentRoot /var/www/vhosts/domainname/httpdocs
CustomLog /var/www/vhosts/domainname/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/domainname/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /var/www/vhosts/domainname/web_users
</IfModule>
ScriptAlias /cgi-bin/ /var/www/vhosts/domainname/cgi-bin/
Alias /plesk-stat /var/www/vhosts/domainname/statistics/
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /var/www/vhosts/domainname/statistics/webstat
Alias /webstat-ssl /var/www/vhosts/domainname/statistics/webstat-ssl
Alias /ftpstat /var/www/vhosts/domainname/statistics/ftpstat
Alias /anon_ftpstat /var/www/vhosts/domainname/statistics/anon_ftpstat
Alias /awstats-icon /var/www/html/awstats/icon
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/domainname/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/domainname/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/domainname/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options -Includes +ExecCGI
</Directory>
<Directory /var/www/vhosts/domainname/web_users>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
Alias "/error_docs" "/var/www/vhosts/domainname/error_docs"
Include /var/www/vhosts/domainname/conf/vhost.conf
</VirtualHost>

and the vhost.conf:
<IfModule mod_suphp.c>
<Directory "/var/www/vhosts/domainname/httpdocs/">
php_admin_flag engine on
suPHP_Engine On
suPHP_ConfigPath "/var/www/vhosts/domainname/httpdocs/"
AddHandler x-httpd-php .php
AddHandler php5-script .php
AddHandler x-httpd-php .php .php5 .php4 .php3 .phtml
suPHP_AddHandler x-httpd-php
suPHP_AddHandler php5-script .php
suPHP_PHPPath
php_value open_basedir "/tmp/"
php_value upload_tmp_dir "/var/www/vhosts/domainname/tmp/"
<Files php.ini>
order allow,deny
deny from all
php_value open_basedir "/tmp/"
php_value upload_tmp_dir "/var/www/vhosts/domainname/httpdocs/tmp/"
</Files>
</Directory>
</IfModule>

Does anyone have an idea of what I could have done wrong?
Thanks for help

Andrea
 
This settings seems OK, but is also important how it look the suphp.conf in /etc/ and /etc/httpd/conf.d/mod_suphp.conf
 
Thanks to Ivalics who solved my problems.
The cause was wrong config and suphp disabled.
Now it works perfectly
 
For those who still use it, Password Revealer now will work with encrypted passwords - PLESK 11+
 
Back
Top