• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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