• 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.

After Plesk 11 to 12 Migration no SSL

ffischer

Basic Pleskian
Hi everybody,
i moved my WebSites from Plesk 11.x to a new Server with Plesk 12.x.
Migration works fine, but if i open the Website with https i got a error @chrome "ERR_SSL_PROTOCOL_ERROR".

In Hosting Options the SSL Certificate is aviable, and is choosed correctly.
efw-ssl-error.jpg

A other Computer shows : ERR_CONNECTION_RESET

What have i done wrong?
Some ideas?

best regrads
Frank
 
Last edited:
You could try to recreate the httpd / nginx - configs with the command:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain YOURDOMAIN.COM
because the error 101 ( ERR_CONNECTION_RESET ) declares, that the connection between the server and the client could not be established. This could indicate a misconfigured firewall, or as well misconfigured httpd.conf / nginx.conf for SSL, not routing the requests to the right port ( 443 => 7081 ).
 
Hi,
i tryd this but nothing is changed.
http is working
https not working

no Firewall on the Client, testet with dif. Computers and Networks.

The Config File i checked with Plesk 12 Configuration plugin

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

server {
listen 85.214.18.182:443 ssl;

server_name efw-forum.de;
server_name www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name www.endian.community;

ssl_certificate /opt/psa/var/certificates/cert-t9q0DG;
ssl_certificate_key /opt/psa/var/certificates/cert-t9q0DG;
ssl_client_certificate /opt/psa/var/certificates/cert-68kpPE;
ssl_session_timeout 5m;

ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

client_max_body_size 128m;

root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_ssl_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";

if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^www.endian.community$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}

location / {
proxy_pass https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}

}

server {
listen 85.214.18.182:80;

server_name efw-forum.de;
server_name www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name www.endian.community;

client_max_body_size 128m;

root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";

if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^www.endian.community$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}

location / {
proxy_pass http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}

}
 
Last edited:
Please try to change the handler in your domain subscription ( Start > Abonnements > YOURDOMAIN.COM > Websites & Domains > YOURDOMAIN.COM ( or
YOUR-SUBDOMAIN.COM )
in the section "Hosting settings" to Apache and afterwards back to FastCGI again. Be as well sure to aktivate the SSL support and the FastCGI-Support in this Hosting settings. With this suggestion you try to force Plesk, to change the specification, which handler the domain should use and Plesk will then add the upstream connection to your nginx config, which look like this:
Code:
    location ~ \.php(/.*)?$ {
        fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_pass "unix:/var/www/vhosts/system/YOURDOMAIN.COM/php-fpm.sock";
        include /etc/nginx/fastcgi.conf;
    }
 
Last edited by a moderator:
ok its done but no change

Webserver Configurations Troubleshooter => ngix Config File
29-09-_2014_16-29-29.png
#ATTENTION!
#


#DO NOT MODIF Y THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

server {
listen 85.214.18.182:443 ssl;

server_name efw-forum.de;
server_name www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name www.endian.community;

ssl_certificate /opt/psa/var/certificates/cert-t9q0DG;
ssl_certificate_key /opt/psa/var/certificates/cert-t9q0DG;
ssl_client_certificate /opt/psa/var/certificates/cert-68kpPE;
ssl_session_timeout 5m;

ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

client_max_body_size 128m;

root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_ssl_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";

if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^www.endian.community$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}

location / {
proxy_pass https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}

}

server {
listen 85.214.18.182:80;

server_name efw-forum.de;
server_name www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name www.endian.community;

client_max_body_size 128m;

root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";

if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^www.endian.community$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}

location / {
proxy_pass http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}
 
Please add the "php-support for nginx" as well, if you use nginx and php5-fpm together with your apache.

Visit https://YOURSERVERDOMAIN:8443/admin/update/add-components/ and look for the "Web hosting features". A sub-category there is: "Nginx web server and reverse proxy support" with the extensions "Nginx reverse proxy support" and "php-fpm support for nginx".
 
Could you please check, which settings you have in your "webserver settings" for the domain with the issues? I think that the option "PHP processed by Nginx" is unchecked and that might be the reason, why Plesk isn't generating the above mentioned entries for the fastcgi pass - location for your php - files in your configuration. You could as well check if php5-fpm created a domain specific pool for your domain with "ps -aux | grep php-fpm" ( the unix sockets are located at "/var/www/vhosts/system/YOURDOMAIN.COM" ).
 
i activate theis Option but nothing happens :)

this => ps -aux | grep php-fpm
gives =>

root@h2248751:~# ps -aux | grep php-fpm
root 19555 0.0 0.0 344776 16924 ? Ss 21:16 0:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
www-data 19587 0.0 0.0 344752 5548 ? S 21:16 0:00 php-fpm: pool www
www-data 19588 0.0 0.0 344752 5552 ? S 21:16 0:00 php-fpm: pool www
efwforu+ 20669 0.1 0.0 346600 14220 ? S 21:25 0:00 php-fpm: pool efw-forum.de
root 20672 0.0 0.0 15804 920 pts/4 S+ 21:25 0:00 grep --color=auto php-fpm
 
Hi Run the command
=> /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain efw-forum.de

Restart Apache & Nginx
Website still not working with ssl :(

conf/nginx.conf

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

server {
listen 85.214.18.182:443 ssl;

server_name efw-forum.de;
server_name www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name www.endian.community;

ssl_certificate /opt/psa/var/certificates/cert-t9q0DG;
ssl_certificate_key /opt/psa/var/certificates/cert-t9q0DG;
ssl_client_certificate /opt/psa/var/certificates/cert-68kpPE;
ssl_session_timeout 5m;

ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

client_max_body_size 128m;

root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_ssl_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";

if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^www.endian.community$) {
rewrite ^(.*)$ https://www.efw-forum.de$1 permanent;
}

location / {
proxy_pass https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}

location ~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon) {
proxy_pass https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location ~ ^/~(.+?)(/.*?\.php)(/.*)?$ {
alias /var/www/vhosts/efw-forum.de/web_users/$1/$2;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}

location ~ ^/~(.+?)(/.*)?$ {
proxy_pass https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location ~ \.php(/.*)?$ {
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}

location ~ /$ {
index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml;
}

}

server {
listen 85.214.18.182:80;

server_name efw-forum.de;
server_name www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name www.endian.community;

client_max_body_size 128m;

root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";

if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^www.endian.community$) {
rewrite ^(.*)$ http://www.efw-forum.de$1 permanent;
}

location / {
proxy_pass http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}

location ~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon) {
proxy_pass http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location ~ ^/~(.+?)(/.*?\.php)(/.*)?$ {
alias /var/www/vhosts/efw-forum.de/web_users/$1/$2;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}

location ~ ^/~(.+?)(/.*)?$ {
proxy_pass http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}

location ~ \.php(/.*)?$ {
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}

location ~ /$ {
index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml;
}

}

Something here Missing ?
But i checked with the Old Server Settings:
30-09-2014 07-41-40.jpg

found this in /var/log/apache2/error.log
[Mon Sep 29 07:56:48.090576 2014] [ssl:warn] [pid 11438] AH01916: Init: (efw-forum.de:443) You configured HTTP(80) on the standard HTTPS(443) port!

No SSL Sites working https://efw-forum.de/plesk-stat the same Problem.
 
Last edited:
At least you fixed the missing fastcgi_pass for php now in nginx - so this seems to be o.k now.

Are you aware that you use a SSL - certificate for TWO domains ? Your SSL - certificate is signed for the URL "efw-forum.de", but you modified main - rewrite rules for endian.community ( as well with missing TLD - ending!!! ) in your configuration. A SSL certificate may work with wildcards ( for example: *.efw-forum.de ) but it won't work for different domains.

Please correct the missing TLD for "endian.community" ( *.de ? *.com ? ).
I would recommend to delete the whole second domain "endian.community", just to make sure, that efw-forum.de works with and without SSL configuration.

Did you add the second domain "endian.community" as Domain or Domain-Alias?
 
This is a Domain Alias,
the TLD is community is some of the new TLDs

i Add a new domain
add a Subdomain with ssl.DOMAIN.TLD
with Default Cert of Repository and open with https://
Same Problem.

No Site is working with SSL.
 
try to look if nginx is hearing on 443 =>

netstat -ntpl |grep nginx
tcp 0 0 85.214.53.252:80 0.0.0.0:* LISTEN 2285/nginx
tcp 0 0 85.214.18.182:80 0.0.0.0:* LISTEN 2285/nginx
tcp 0 0 85.214.53.252:443 0.0.0.0:* LISTEN 2285/nginx
tcp 0 0 85.214.18.182:443 0.0.0.0:* LISTEN 2285/nginx

netstat -ntpl |grep apache2
tcp6 0 0 :::7080 :::* LISTEN 8313/apache2
tcp6 0 0 :::7081 :::* LISTEN 8313/apache2
 
ah... sorry.... my fault... didn't thought of the *.community TLD.

Could you please post the content of httpd - related configs? Include the vhost* - files as well please, if they are not empty, because there are still misconfigurations for SSL ( 443 and 7081 ).

It is as well easier, if you use the BB-Code "CODE" for config - files and stuff...
[CODE]
YOUR CONTENT FOR FILE A
[/CODE]

[CODE]
YOUR CONTENT FOR FILE B
[/CODE]
 
From Domain efw-forum.de the httpd Files?

/var/www/vhosts/system/efw-forum.de/conf/httpd.conf
Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/system/efw-forum.de/conf/vhost.conf
#/var/www/vhosts/system/efw-forum.de/conf/vhost_ssl.conf
<IfModule mod_ssl.c>

<VirtualHost 85.214.18.182:7081 >
ServerName "efw-forum.de:443"
ServerAlias "www.efw-forum.de"
ServerAlias "ipv4.efw-forum.de"
ServerAdmin "[email protected]"
UseCanonicalName Off

DocumentRoot "/var/www/vhosts/efw-forum.de/httpdocs"
CustomLog /var/www/vhosts/system/efw-forum.de/logs/access_ssl_log plesklog
ErrorLog "/var/www/vhosts/system/efw-forum.de/logs/error_log"

<IfModule mod_suexec.c>
SuexecUserGroup "efwforumde" "psacln"
</IfModule>

<IfModule mod_userdir.c>
UserDir "/var/www/vhosts/efw-forum.de/web_users"
</IfModule>

<IfModule mod_sysenv.c>
SetSysEnv PP_VHOST_ID "4b303246-9248-467c-922f-908885f0385c"
</IfModule>

ScriptAlias "/cgi-bin/" "/var/www/vhosts/efw-forum.de/httpdocs/cgi-bin/"

Alias "/plesk-stat" "/var/www/vhosts/system/efw-forum.de/statistics"
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /var/www/vhosts/system/efw-forum.de/statistics/webstat
Alias /webstat-ssl /var/www/vhosts/system/efw-forum.de/statistics/webstat-ssl
Alias /ftpstat /var/www/vhosts/system/efw-forum.de/statistics/ftpstat
Alias /anon_ftpstat /var/www/vhosts/system/efw-forum.de/statistics/anon_ftpstat
Alias /awstats-icon /usr/share/awstats/icon

SSLEngine on
SSLVerifyClient none
SSLCertificateFile /opt/psa/var/certificates/cert-t9q0DG
SSLCACertificateFile /opt/psa/var/certificates/cert-68kpPE
SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/efw-forum.de/etc/php.ini
SetEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi

<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/efw-forum.de/etc/php.ini
FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
FcgidMaxRequestLen 134217728
</IfModule>

<Directory /var/www/vhosts/efw-forum.de/httpdocs>

<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi$)>
SetHandler fcgid-script
Options +ExecCGI
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.php$)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
</Files>
</IfModule>

SSLRequireSSL

Options -Includes +ExecCGI

</Directory>

<Directory "/var/www/vhosts/system/efw-forum.de/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile "/var/www/vhosts/system/efw-forum.de/pd/d..httpdocs@plesk-stat"
require valid-user
</Directory>
<Directory "/var/www/vhosts/efw-forum.de/httpdocs/www/administrator">
AuthType Basic
AuthName "Administrator"
AuthUserFile "/var/www/vhosts/system/efw-forum.de/pd/d..httpdocs@www@administrator"
require valid-user
</Directory>

Alias /error_docs /var/www/vhosts/efw-forum.de/error_docs
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
ErrorDocument 405 /error_docs/method_not_allowed.html
ErrorDocument 406 /error_docs/not_acceptable.html
ErrorDocument 407 /error_docs/proxy_authentication_required.html
ErrorDocument 412 /error_docs/precondition_failed.html
ErrorDocument 414 /error_docs/request_uri_too_long.html
ErrorDocument 415 /error_docs/unsupported_media_type.html
ErrorDocument 501 /error_docs/not_implemented.html
ErrorDocument 502 /error_docs/bad_gateway.html
ErrorDocument 503 /error_docs/maintenance.html

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^efw-forum.de$ [NC]
RewriteRule ^(.*)$ https://www.efw-forum.de$1 [L,R=301]
</IfModule>

<IfModule mod_security2.c>
</IfModule>

</VirtualHost>

</IfModule>

<VirtualHost 85.214.18.182:7080 >
ServerName "efw-forum.de:80"
ServerAlias "www.efw-forum.de"
ServerAlias "ipv4.efw-forum.de"
ServerAdmin "[email protected]"
UseCanonicalName Off

DocumentRoot "/var/www/vhosts/efw-forum.de/httpdocs"
CustomLog /var/www/vhosts/system/efw-forum.de/logs/access_log plesklog
ErrorLog "/var/www/vhosts/system/efw-forum.de/logs/error_log"

<IfModule mod_suexec.c>
SuexecUserGroup "efwforumde" "psacln"
</IfModule>

<IfModule mod_userdir.c>
UserDir "/var/www/vhosts/efw-forum.de/web_users"
</IfModule>

<IfModule mod_sysenv.c>
SetSysEnv PP_VHOST_ID "4b303246-9248-467c-922f-908885f0385c"
</IfModule>

ScriptAlias "/cgi-bin/" "/var/www/vhosts/efw-forum.de/httpdocs/cgi-bin/"

Redirect permanent /plesk-stat https://efw-forum.de/plesk-stat
Redirect permanent /webstat https://efw-forum.de/webstat
Redirect permanent /webstat-ssl https://efw-forum.de/webstat-ssl
Redirect permanent /ftpstat https://efw-forum.de/ftpstat
Redirect permanent /anon_ftpstat https://efw-forum.de/anon_ftpstat
Redirect permanent /awstats-icon https://efw-forum.de/awstats-icon

<IfModule mod_ssl.c>
SSLEngine off
</IfModule>

SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/efw-forum.de/etc/php.ini
SetEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi

<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/efw-forum.de/etc/php.ini
FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
FcgidMaxRequestLen 134217728
</IfModule>

<Directory /var/www/vhosts/efw-forum.de/httpdocs>

<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi$)>
SetHandler fcgid-script
Options +ExecCGI
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.php$)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
</Files>
</IfModule>

Options -Includes +ExecCGI

</Directory>

<Directory "/var/www/vhosts/system/efw-forum.de/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile "/var/www/vhosts/system/efw-forum.de/pd/d..httpdocs@plesk-stat"
require valid-user
</Directory>
<Directory "/var/www/vhosts/efw-forum.de/httpdocs/www/administrator">
AuthType Basic
AuthName "Administrator"
AuthUserFile "/var/www/vhosts/system/efw-forum.de/pd/d..httpdocs@www@administrator"
require valid-user
</Directory>

Alias /error_docs /var/www/vhosts/efw-forum.de/error_docs
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
ErrorDocument 405 /error_docs/method_not_allowed.html
ErrorDocument 406 /error_docs/not_acceptable.html
ErrorDocument 407 /error_docs/proxy_authentication_required.html
ErrorDocument 412 /error_docs/precondition_failed.html
ErrorDocument 414 /error_docs/request_uri_too_long.html
ErrorDocument 415 /error_docs/unsupported_media_type.html
ErrorDocument 501 /error_docs/not_implemented.html
ErrorDocument 502 /error_docs/bad_gateway.html
ErrorDocument 503 /error_docs/maintenance.html

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^efw-forum.de$ [NC]
RewriteRule ^(.*)$ http://www.efw-forum.de$1 [L,R=301]
</IfModule>

<IfModule mod_security2.c>
</IfModule>

</VirtualHost>
 
Could you please as well add the default "/etc/apache2/sites-available" from your apache2 ?
 
Back
Top