# Seite mit www nicht aufrufbar...

**URL:** <https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606>\
**Category:** Programmierung\
**Created:** [7. Februar 2021 um 16:05 UTC](https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606 "2021-02-07T16:05:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![winki97](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@winki97](https://forum.shopware.com/u/winki97)\
**Post date:** [7. Februar 2021 um 16:05 UTC](https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606/1 "2021-02-07T16:05:00Z")

</div>

Hallo,

ich bin neu hier, und teste gerade shopware. Gefällt mir sehr gut, aber kriege ein Problem nicht hin…

Gebe ich im Browser „[www.daniel-wunder.de/public/](http://www.daniel-wunder.de/public/)“ ein bekomme ich:

Oops! An Error Occurred

The server returned a „500 Internal Server Error“.

&nbsp;

Gebe ich folgendes ein: „[http://daniel-wunder.de/public/](http://daniel-wunder.de/public/)“&nbsp;ein, geht die Testseite…

Habe schon Google gefragt, keine Lösung gesunden… denke es liegt an der htacces… ?!

> # BEGIN Shopware
> 
> # The directives (lines) between „# BEGIN Shopware“ and „# END Shopware“ are dynamically generated. Any changes to the directives between these markers will be overwritten.
> 
> DirectoryIndex index.php
> 
> Options -MultiViews
> 
> RewriteEngine On
> 
> &nbsp; &nbsp; RewriteCond %{REQUEST\_URI}::$1 ^(/.+)/(.\*)::\2$  
> &nbsp; &nbsp; RewriteRule ^(.\*) - [E=BASE:%1]
> 
> &nbsp; &nbsp; # Sets the HTTP\_AUTHORIZATION header removed by Apache  
> &nbsp; &nbsp; RewriteCond %{HTTP:Authorization} .  
> &nbsp; &nbsp; RewriteRule ^ - [E=HTTP\_AUTHORIZATION:%{HTTP:Authorization}]
> 
> &nbsp; &nbsp; RewriteCond %{ENV:REDIRECT\_STATUS} ^$  
> &nbsp; &nbsp; RewriteRule ^index.php(?:/(.\*)|$) %{ENV:BASE}/$1 [R=301,L]
> 
> &nbsp; &nbsp; # If the requested filename exists, simply serve it.  
> &nbsp; &nbsp; # We only want to let Apache serve files and not directories.  
> &nbsp; &nbsp; RewriteCond %{REQUEST\_FILENAME} -f  
> &nbsp; &nbsp; RewriteRule ^ - [L]
> 
> &nbsp; &nbsp; # Rewrite all other queries to the front controller.  
> &nbsp; &nbsp; RewriteRule ^ %{ENV:BASE}/index.php [L]
> 
> RewriteCond %{HTPP:X-Forwarded-Proto} !https  
> RewriteCond %{HTTPS} !on  
> RewriteCond %{REDIRECT\_HTTPS} !on  
> RewriteRule ^(.\*)$ https://%{HTTP\_HOST}%{REQUEST\_URI} [R=301,L]
> 
> RedirectMatch 302 ^/$ /index.php/
> 
> Header set Content-Security-Policy „script-src ‚none‘“
> 
> # END Shopware

&nbsp;

Hoffe jemand kann helfen. Danke euch.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [7. Februar 2021 um 16:28 UTC](https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606/2 "2021-02-07T16:28:10Z")

</div>

Du solltest am besten die Domain direkt auf den Ordner public routen, dann hast du /public nachher auch nicht mehr in der URL.

Wenn du www. verwenden willst, kannst du das im Admin als Domain zum Sales-Channel hinzufügen. Dann sollte das auch funktionieren.

---

<div class="post-metadata">

**Author:** ![winki97](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@winki97](https://forum.shopware.com/u/winki97)\
**Post date:** [7. Februar 2021 um 17:13 UTC](https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606/3 "2021-02-07T17:13:13Z")

</div>

Hab Routing ändern lassen : “/www/index/public”

Gleiche Problem… merke gerade, admin geht jetzt gar nicht mehr… ☹

Wo finde ich “Sales-Channel” ? Mir erschließt sich die Logik nicht, warum das Eine geht, das Andere nicht… ![Undecided](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/8ae622c50104e84c5003fedfcc22572813a67b41.png "Undecided")&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [7. Februar 2021 um 17:43 UTC](https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606/4 "2021-02-07T17:43:29Z")

</div>

Sales-Channel sind die Verkaufskanäle, im Admin linke Spalte ziemlich weit unten.

---

<div class="post-metadata">

**Author:** ![winki97](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@winki97](https://forum.shopware.com/u/winki97)\
**Post date:** [7. Februar 2021 um 17:55 UTC](https://forum.shopware.com/t/seite-mit-www-nicht-aufrufbar/72606/5 "2021-02-07T17:55:53Z")

</div>

Jetzt geht der Login nicht mehr… Passwort zurückgesetzt, komme nicht rein ☹

Nach Rückstellen des Routing geht Admin wieder…

Befasse mich morgen mal mit dem.

&nbsp;

&nbsp;
