ich habe nach der Umstellung auf https folgende Probleme
1.
Gebe ich in einem Browser " eurecert.eu" ein, dann kommt https://www.eurecert.eu/cms/front_content.php. Die Seite wird angezeigt.
Gebe ich www.eurecert.eu ein, dann kommt die Seite sofort ohne cms/front_content.php.
2.
Außerdem verwende ich das Modul mp_article_include von xmurrix. Das funktioniert leider nicht. Sprich, die Inhalte, in meinem Fall z.B. das Menü werden nicht eingebunden.
In der error.log findet sich folgender Eintrag:
[19-Sep-2018 18:10:21 Europe/Berlin] PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/local/bin/curl) is not within the allowed path(s): (/home/jwtqcwly/htdocs4:/home/jwtqcwly/.fpp/eurecert.eu/tmp:/home/jwtqcwly/.fpp/eurecert.eu/upload:/home/jwtqcwly/.fpp/eurecert.eu/session:/home/jwtqcwly/.fpp/eurecert.eu/webredirect:/home/jwtqcwly/phpinclude:/usr/share/php:/dev/urandom:/home/logdateien/stats) in /home/jwtqcwly/htdocs4/cms/data/modules/mparticle_include/vendor/Snoopy.class.php on line 202
AMR Plugin aktiv.
config.php Datei auf https geändert
Änderungen in der htaccess vorgenommen
Code: Alles auswählen
<IfModule mod_rewrite.c>
    # Enable rewrite engine
    RewriteEngine on
    # Specify a base URL-path for the rules
    RewriteBase /cms
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    # Catch some common exploits in query string to get rid of them.
    # NOTE: Conditions to prevent protocols (ftp, http[s]) in query string could
    #       be a disadvantage in some cases.
    RewriteCond %{QUERY_STRING} contenido_path=.*$  [NC,OR]
    RewriteCond %{QUERY_STRING} cfg\[path\]=.*$  [NC,OR]
    RewriteCond %{QUERY_STRING} _PHPLIB\[libdir\]=.*$  [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} ftp://.*$  [NC,OR]
    RewriteCond %{QUERY_STRING} http[s]*://.*$ [NC]
    RewriteRule ^.* - [F,L]  # all matching conditions from above will end in nirvana
    
    RewriteCond %{SERVER_PORT} !^443$
    RewriteCond %{HTTP_HOST} ^www\.eurecert\.eu$
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    RewriteCond %{HTTP_HOST} ^eurecert.eu$ [NC]
    RewriteRule ^(.+)$ https://www.eurecert.eu/$1 [R=301,L]
    # Exclude some files and directories from rewriting
    RewriteRule ^usage/.*$ - [L]
    RewriteRule ^contenido/.*$ - [L]
    RewriteRule ^setup/.*$ - [L]
    RewriteRule ^cms/upload/.*$ - [L]
    RewriteRule ^cms/upload/film/.*$ - [L]
    RewriteRule ^cms/test/.*$ - [L]
    RewriteRule ^cms/front_content.php.*$ - [L]
    RewriteRule ^cms/dbfs.php.*$ - [L]
    # Exclude common extensions from rewriting and pass remaining requests to
    # front_content.php.
    RewriteRule !\.(avi|css|doc|flv|gif|gzip|ico|jpeg|jpg|js|mov|mp3|pdf|png|ppt|rar|svg|swf|txt|wav|wmv|xml|zip)$ front_content.php [NC,QSA,L]
</IfModule>
CONTENIDO Version 4.9.12
Webserver-Version Apache/2.4.10
Installierte PHP-Version 5.6.37-0+deb8u1
Datenbankserver-Version 5.6.30-1~bpo8+1