Ich nutze AMR 0.5.4 und möchte mein Backend mit einer https Zwangsumleitung bestücken. Bisher funktionierte u.a. erste Regel
Seit der AMR Config leider nicht mehr. Die ssl Adresse läuft über eine subdomain und Contenido ist ein einem Unterordner installiert.
Ich nutze den Mandanten unter /DocumentRoot/con1/cms. Leider zieht die Regel nicht. Alles beim Alten.
Keiner Fehler, keine Umleitung.
Hat jemand eine Idee wie ich die Zwangsumleitung für mein Backend und der AMR Simple Config einrichten soll?
Ich habe auch festgestellt, dass AMR im Backend nicht funktioniert. Vileicht gibt es ja hier auch noch einen Tipp.
#Anfragen auf
http://www.domain.de/con1/contenido auf https umleiten
RewriteCond %{HTTPS} !=on
RewriteRule ^con1/contenido$
https://domain.profissl.de/con1/contenido/
# Specify a base URL-path for the rules
# -------------------------------------
RewriteBase /con1/cms/
# Catch some common exploits in query string to get rid of them
# NOTE: Conditions to prevent protocolls (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
# Rewrite request to root to front_content.php
# --------------------------------------------
RewriteRule ^$ front_content.php [QSA,L]
# Exclude following request from rewriting
# tests for valid symlinks (-s), not empty files (-l) and folders (-d)
# --------------------------------------------------------------------
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# Pass other requests to front_content.php
# ----------------------------------------
RewriteRule ^.*$ front_content.php [QSA,NC,L]