Hallo Zusammen,
ich habe bei meinen Shop SSL aktiviert, im Frontend funktioniert alles ohne Probleme im Gegensatz zum Backend. Wenn ich versuche dies über https aufzurufen dauert es ewig bis die Login-Seite erscheint und nach dem Login bekomme ich nach einiger Zeit folgende Fehlermeldung.
exception ‚Enlight_Controller_Exception‘ with message ‚Unauthorized‘ in /var/www/virtual/domain/htdocs/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:202 Stack trace: #0 /var/www/virtual/domain/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs)) #1 /var/www/virtual/domain/htdocs/engine/Library/Enlight/Event/EventManager.php(210): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs)) #2 /var/www/virtual/domain/htdocs/engine/Library/Enlight/Controller/Action.php(137): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs)) #3 /var/www/virtual/domain/htdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‚getListAction‘) #4 /var/www/virtual/domain/htdocs/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #5 /var/www/virtual/domain/htdocs/engine/Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch() #6 /var/www/virtual/domain/htdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 /var/www/virtual/domain/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 /var/www/virtual/domain/htdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 /var/www/virtual/domain/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #10 /var/www/virtual/domain/htdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #11 {main}
Ich habe sowohl probiert generell die Domain von HTTP auf HTTPS weiterzuleiten als auch wie in einem DEV Eintrag die „.htaccess“ um diese Zeilen erweitert.
HTTPS config for the backend
RewriteCond %{HTTPS} !=on
RewriteRule backend/(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Leider endet beides im selben Problem.
Hat einer dazu eine Idee und dann mir helfen ?
Danke schonmal,
Sven