Forums Sign Up Reply Search Statistics
Power Toys GraFX Software Solutions - Forum / Power Toys /

How do you configure suPHP to work with SSL?

 
Author DirtyMonkey
Forums Member
#1 Posted: 9 Jan 2009 01:02:31
Reply 
I have successfully configured suPHP to work with vhosts.conf file provided by Plesk Power Tools.

vhost.conf contains:

Quote:
# PHP version detected 5
<IfModule mod_suphp.c>
<Directory "/var/www/vhosts/mydomain.com/httpdocs/">
php_admin_flag engine on
suPHP_Engine On
suPHP_ConfigPath "/var/www/vhosts/mydomain.com/httpdocs/"
AddHandler php5-script .php
AddHandler x-httpd-php .php5
suPHP_AddHandler php5-script .php
<Files php.ini>
order allow,deny
deny from all
</Files>
php_value open_basedir "/tmp/"
php_value upload_tmp_dir "/var/www/vhosts/mydomain.com/httpdocs/tmp/"
</Directory>
</IfModule>

However it does not work under https:// I get a 500 Internal Server Error.

Plesk 9.0 Debian 4.0
Web hosting setup: Use a single directory for housing SSL and non-SSL content

What do I have to configure to get this working correctly?

DM.
Author software
Admin
#2 Posted: 9 Jan 2009 10:40:13
Reply 
For the moment I cannot answer to this, all you can do to create a separate one for https://
We need to investigate how is done and we can try to include in a next release.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.