# Hauptshop mit https, Subshop mit http (ohne https), htaccess config wie?

**URL:** https://forum.shopware.com/t/hauptshop-mit-https-subshop-mit-http-ohne-https-htaccess-config-wie/42846
**Category:** Allgemein
**Created:** [16. Januar 2017 um 22:08 UTC](https://forum.shopware.com/t/hauptshop-mit-https-subshop-mit-http-ohne-https-htaccess-config-wie/42846 "2017-01-16T22:08:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![trilou](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@trilou](https://forum.shopware.com/u/trilou)
#### Post date: [16. Januar 2017 um 22:08 UTC](https://forum.shopware.com/t/hauptshop-mit-https-subshop-mit-http-ohne-https-htaccess-config-wie/42846/1 "2017-01-16T22:08:42Z")

</div>

Hallo,

stehe leider an und stundenlange Suche brachte nicht den Erfolg.

Ich habe einen Hauptshop mit SSL unter [https://www.domain.at](https://www.domain.at) (läuft mit https) und hätte gerne einen Subshop ohne SSL (weil noch kein Zertifikat) unter [http://www.domain.de](http://www.domain.de)

Die [www.domain.de](http://www.domain.de) (Subshop-Domain) verweist auf den richtigen Server (lt. tracert) und das richtige Verzeichnis.

Wenn ich die eula.txt aufrufe, geht die nur beim Hauptshop, nicht bei der [www.domain.de](http://www.domain.de) Subshop Domain. Er will hier immer auf https weiterleiten, aber auch nicht auf die .at??

Daher denke ich, das die .htaccess das Problem ist, nur weiss ich nicht, wie ich die Subshop Domain ausschliesse bzw. das Problem löse.

_(Damit keine Verwirrung aufkommt, es wurde früher eine .com Domain betrieben, diese dann auf die .at weitergeleitet)_

htaccess Auszug:

* * *

RewriteEngine on  
RewriteCond %{HTTPS} off  
RewriteRule (.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [R=301,L]

#RewriteBase /shopware/

# Https config for the backend

RewriteCond %{HTTPS} !=on  
RewriteRule backend/(.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [L,R=301]

RewriteCond %{HTTP\_HOST} ^domain.com$ [NC]  
RewriteRule ^(.\*)$ [http://www.domain.at/](http://www.domain.at/)1 [R=301,L] RewriteCond %{HTTP\_HOST} ^www.domain.com [NC]  
RewriteRule ^(.\*)$ [http://www.domain.at/$1](http://www.domain.at/%241) [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|themes|web)/)  
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]

…

* * *

Vielleicht auch für andere interessant.  
Wäre schön wenn mir jemand einen Tipp geben könnte für das Weiterleitungsproblem. Die Konfiguration des Subshops dürfte passen.  
&nbsp;(Host: [www.domain.de](http://www.domain.de), Hostalias: [domain.de](http://domain.de), [www.domain.de](http://www.domain.de), SSL ist OFF)

MERCI und vielen Dank!!!

---

<div class="post-metadata">

### Author: ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)
#### Post date: [16. Januar 2017 um 22:31 UTC](https://forum.shopware.com/t/hauptshop-mit-https-subshop-mit-http-ohne-https-htaccess-config-wie/42846/2 "2017-01-16T22:31:28Z")

</div>

Kann es damit was zu tun haben, dass du “www” nutzt? Ich habe gestern erst einen Subshop angelegt. Es ist dabei wichtig Servername, Domainaliase auch in der vHost und der Zertifizierung einzubeziehen.

---

<div class="post-metadata">

### Author: ![trilou](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@trilou](https://forum.shopware.com/u/trilou)
#### Post date: [17. Januar 2017 um 11:31 UTC](https://forum.shopware.com/t/hauptshop-mit-https-subshop-mit-http-ohne-https-htaccess-config-wie/42846/3 "2017-01-17T11:31:49Z")

</div>

Hi,

ist mir jetzt nicht ganz klar das mit dem www?? Habe das im Feld: Host versucht, bringt aber nichts…

Es muss fast die Weiterleitung sein, da er die Subshopdomain immer auf https umleitet, obwohl kein Zertifikat udn deaktiviert in den Einstellungen.

Hat noch jemand eine Idee? Danke!!  
&nbsp;

---

<div class="post-metadata">

### Author: ![trilou](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@trilou](https://forum.shopware.com/u/trilou)
#### Post date: [18. Januar 2017 um 11:24 UTC](https://forum.shopware.com/t/hauptshop-mit-https-subshop-mit-http-ohne-https-htaccess-config-wie/42846/4 "2017-01-18T11:24:49Z")

</div>

Hallo,

&nbsp;

kann mir evtl. jemand von Shopware helfen? Wäre super… Danke!!
