L
lnxmtl
Guest
Hi,
I'm having a problem with Plesk (7.5.2 / Fedora Core 2) since I installed a SSL certificate for my main domain.
the https://mydomain.com page points to the Plesk default page instead of the httpsdocs directory of the domain.
Here is the relevant part in /etc/httpd/conf/httpd.include :
<VirtualHost xxx.xxx.xxx.xxx:443 >
ServerName default-xxx-xxx-xxx-xxx
UseCanonicalName Off
DocumentRoot /home/httpd/vhosts/default/httpsdocs
ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/"
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-xxxxxx
SSLCACertificateFile /usr/local/psa/var/certificates/cert-xxxxxx
<Directory "/home/httpd/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /home/httpd/vhosts/default/httpsdocs>
SSLRequireSSL
</Directory>
</VirtualHost>
I tried to edit it manually to change the following items :
DocumentRoot /home/httpd/vhosts/mydomain.com/httpsdocs
<Directory /home/httpd/vhosts/mydomain.com/httpdocs>
SSLRequireSSL
Options +Includes +ExecCGI
AddHandler cgi-script .cgi
</Directory>
It worked, but during the night, a plesk internal cron job did overwrite the file and reverted my changes (naturally, same thing happens if a new site is added).
Since this is in the main httpd.include file, the 'vhost.conf' trick won't work.
I saw elsewhere on the board some people had trouble with IP moved from shared to exclusive, so I installed the site on a newly added exclusive IP and the result was no better.
I finally tried to find where is the data in the database but could not find it.
Do you know how to correct this problem, or the location where the data used by Plesk to rebuild /etc/httpd/conf/httpd.include is stored ?
Thanks !
I'm having a problem with Plesk (7.5.2 / Fedora Core 2) since I installed a SSL certificate for my main domain.
the https://mydomain.com page points to the Plesk default page instead of the httpsdocs directory of the domain.
Here is the relevant part in /etc/httpd/conf/httpd.include :
<VirtualHost xxx.xxx.xxx.xxx:443 >
ServerName default-xxx-xxx-xxx-xxx
UseCanonicalName Off
DocumentRoot /home/httpd/vhosts/default/httpsdocs
ScriptAlias /cgi-bin/ "/home/httpd/vhosts/default/cgi-bin/"
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-xxxxxx
SSLCACertificateFile /usr/local/psa/var/certificates/cert-xxxxxx
<Directory "/home/httpd/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /home/httpd/vhosts/default/httpsdocs>
SSLRequireSSL
</Directory>
</VirtualHost>
I tried to edit it manually to change the following items :
DocumentRoot /home/httpd/vhosts/mydomain.com/httpsdocs
<Directory /home/httpd/vhosts/mydomain.com/httpdocs>
SSLRequireSSL
Options +Includes +ExecCGI
AddHandler cgi-script .cgi
</Directory>
It worked, but during the night, a plesk internal cron job did overwrite the file and reverted my changes (naturally, same thing happens if a new site is added).
Since this is in the main httpd.include file, the 'vhost.conf' trick won't work.
I saw elsewhere on the board some people had trouble with IP moved from shared to exclusive, so I installed the site on a newly added exclusive IP and the result was no better.
I finally tried to find where is the data in the database but could not find it.
Do you know how to correct this problem, or the location where the data used by Plesk to rebuild /etc/httpd/conf/httpd.include is stored ?
Thanks !