My sites are working all ok but the one using SSL.
To enable SSL I didn't use the ispconfig ssl tab because I already had the files on old server.
So I added to ispconfig.vhost the following lines:
Code:
<VirtualHost *:443>
SSLEngine On
SSLProtocol all
SSLCertificateFile /etc/pki/tls/certs/certificate.crt
SSLCertificateKeyFile /etc/pki/tls/certs/private.key
SSLCACertificateFile /etc/pki/tls/certs/intermediate.crt
ServerAdmin webmaster@domainname.it
ServerName domainname.it
ServerAlias www.domainname.it
DocumentRoot /var/www/domainname.it/web/
ErrorLog /var/log/ispconfig/httpd/domainname.it/error.log
<Directory /var/www/domainname.it/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client29/web32/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Clear PHP settings of this website
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
# suphp enabled
<Directory /var/www/clients/client29/web32/web>
<IfModule mod_suphp.c>
suPHP_Engine on
# suPHP_UserGroup web32 client29
suPHP_ConfigPath /var/www/conf/web32
AddHandler x-httpd-suphp .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-suphp
</IfModule>
</Directory>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web32 client29
</IfModule>
<IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory
<Directory /var/www/clients/client29/web32/webdav>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
</Directory>
DavLockDB /var/www/clients/client29/web32/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
</VirtualHost>
Thanks.