Hallo Leute, ich möchte gerne komplett auf SSL umstellen. Wenn ich das probeweise mache, sieht das auch ganz gut aus. Bin mit 4.3.2 unterwegs, und da ist das ja zunächst mal nur ein Haken in den Einstellungen im Backend. Wenn ich aber live gehen will mit der Umstellung muss ich eventuell noch auf ein paar Dinge achten. Kann mir einer sagen, was ausser dem Haken noch zu tun wäre? Muss ich z.B. noch zusätzlich in der .htaccess etwas einfügen für google oder so? Wer hilft mir auf die Sprünge?
Schließe mich hier an. Würde mich auch interessieren ob sonst noch was zu beachten ist.
Guckst Du hier: http://wiki.shopware.com/Wie-kann-ich-m … l_145.html
[quote=“artep”]Guckst Du hier: http://wiki.shopware.com/Wie-kann-ich-m … l_145.html[/quote] Stimmt so
Hallo zusammen Vielen Dank. Ich habe meinen Shop komplett auf SSL umgestellt. Jedoch bekomme ich per E-Mail immer folgenden Error von Shopware: Wer kann mir weiterhelfen? [quote]exception ‚Exception‘ with message ‚Resource „shop“ not found failure‘ in /home/tradebyt/public_html/shopware/engine/Shopware/Components/DependencyInjection/Container.php:192 Stack trace: #0 /home/tradebyt/public_html/shopware/engine/Shopware/Bootstrap.php(149): Shopware\Components\DependencyInjection\Container->get(‚Shop‘) #1 /home/tradebyt/public_html/shopware/engine/Shopware/Application.php(166): Shopware_Bootstrap->getResource(‚Shop‘) #2 /home/tradebyt/public_html/shopware/engine/Shopware/Plugins/Default/Core/HttpCache/Bootstrap.php(353): Shopware->Shop() #3 [internal function]: Shopware_Plugins_Core_HttpCache_Bootstrap->onPostDispatch(Object(Enlight_Controller_ActionEventArgs)) #4 /home/tradebyt/public_html/shopware/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Controller_ActionEventArgs)) #5 /home/tradebyt/public_html/shopware/engine/Library/Enlight/Event/EventManager.php(211): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #6 /home/tradebyt/public_html/shopware/engine/Library/Enlight/Controller/Action.php(185): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_ActionEventArgs)) #7 /home/tradebyt/public_html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(528): Enlight_Controller_Action->dispatch(‚indexAction‘) #8 /home/tradebyt/public_html/shopware/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #9 /home/tradebyt/public_html/shopware/engine/Shopware/Kernel.php(141): Enlight_Controller_Front->dispatch() #10 /home/tradebyt/public_html/shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(472): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #11 /home/tradebyt/public_html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #12 /home/tradebyt/public_html/shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(429): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #13 /home/tradebyt/public_html/shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(329): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #14 /home/tradebyt/public_html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #15 /home/tradebyt/public_html/shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(193): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #16 /home/tradebyt/public_html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/tradebyt/public_html/shopware/shopware.php(109): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #18 {main} 2015-02-13T15:35:58.167781+0100 core { „uri“: „/“, „method“: „GET“, „query“: , „post“: { „sCaptcha“: „2d2d7“, „sRand“: „SwfNoCaptcha“ } } No session data available No shop data available [/quote] .htaccess Datei: [quote]
RewriteEngine on
#RewriteBase /shopware/
Https config for the backend
RewriteCond %{HTTPS} !=on
RewriteRule backend/(.) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#RewriteRule ^(.) https://%{SERVER_NAME}/$1 [R,L]
#RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule shopware.dll shopware.php
RewriteRule files/documents/.* engine [NC,L]
RewriteRule backend/media/(.*) media/$1 [NC,L]
RewriteCond %{REQUEST_URI} !(/(engine|files|templates)/)
RewriteCond %{REQUEST_URI} !(/media/(archive|banner|image|music|pdf|unknown|video)/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ shopware.php [PT,L,QSA]
Fix missing authorization-header on fast_cgi installations
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# Staging-Rules start #SetEnvIf Host „staging.test.shopware.in“ ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration
Deny from all
# Enable gzip compression
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/json
ExpiresActive on
ExpiresDefault „access plus 1 month“
FileETag None
Header append Cache-Control „public“
Header unset ETag
# Disables auto directory index
Options -Indexes
Options -MultiViews
php_value memory_limit 128M
php_value max_execution_time 120
php_value upload_max_filesize 20M
php_flag phar.readonly off
php_flag magic_quotes_gpc off
php_flag session.auto_start off
php_flag suhosin.session.cryptua off
php_flag zend.ze1_compatibility_mode off
# AddType x-mapp-php5 .php # AddHandler x-mapp-php5 .php #AuthName „Entwicklung TradeBy AG“ #AuthUserFile „/home/tradebyt/.htpasswds/public_html/shopware/passwd“ #AuthType Basic #require valid-user AuthName „Entwicklung TradeBy AG“ AuthUserFile „/home/tradebyt/.htpasswds/public_html/shopware/passwd“ [/quote]