# Shopware localhost zeigt index of und alle dateien

**URL:** <https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134>\
**Category:** Installation/Einstieg\
**Created:** [28. Mai 2018 um 07:42 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134 "2018-05-28T07:42:19Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 07:42 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/1 "2018-05-28T07:42:19Z")

</div>

Hallo,

ich habe bei mir local eine kopie von einer des live system von shopware seite gemacht. ich habe die anpassung in config.php und in tabelle ( **s\_core\_shops&nbsp;** ) wie hier alles gemacht&nbsp;

> **[Shopware Dokumentation](https://docs.shopware.com/de?_ga=2.215194769.765719741.1527233303-510000686.1527000169)**

aber wenn ich die seite localhost/derHauptOrdner meiner Projekt dann zeigt nur index of/derHauptOrdner und dann zeigt alle dateien als list an.

Was fehlt mir noch?

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 07:44 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/2 "2018-05-28T07:44:22Z")

</div>

wenn ich die seite&nbsp;[http://localhost/hauptordner/backend](http://localhost/hauptordner/backend) dann bekomme ich die fehler meldung der url ist&nbsp;was not found on this server.

---

<div class="post-metadata">

**Author:** ![puhas](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@puhas](https://forum.shopware.com/u/puhas)\
**Post date:** [28. Mai 2018 um 07:48 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/3 "2018-05-28T07:48:41Z")

</div>

Hört sich an als fehlt die .htaccess Datei. Schau mal nach, ob die mit kopiert wurde.

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 08:15 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/4 "2018-05-28T08:15:36Z")

</div>

ich habe die .htaccess Datei jetzt runtergelädt und wenn ich jetzt die seite aufrufe dann ist eine Datei&nbsp;automatisch runtergeladen zu mir mit diese Inhalt:

&nbsp;

\<?php   
 /\*\* &nbsp;\* Shopware 5 &nbsp;\* Copyright (c) shopware AG &nbsp;\* &nbsp;\* According to our dual licensing model, this program can be used either &nbsp;\* under the terms of the GNU Affero General Public License, version 3, &nbsp;\* or under a proprietary license. &nbsp;\* &nbsp;\* The texts of the GNU Affero General Public License with an additional &nbsp;\* permission and of our proprietary license can be found at and &nbsp;\* in the LICENSE file you have received along with this program. &nbsp;\* &nbsp;\* This program is distributed in the hope that it will be useful, &nbsp;\* but WITHOUT ANY WARRANTY; without even the implied warranty of &nbsp;\* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the &nbsp;\* GNU Affero General Public License for more details. &nbsp;\* &nbsp;\* "Shopware" is a registered trademark of shopware AG. &nbsp;\* The licensing of the program under the AGPLv3 does not imply a &nbsp;\* trademark license. Therefore any rights, title and interest in &nbsp;\* our trademarks remain entirely with us. &nbsp;\*/ // Check the minimum required php version if (version\_compare(PHP\_VERSION, '5.6.4', ' &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; echo ' ## Error '; &nbsp; &nbsp; echo 'Your server is running PHP version ' . PHP\_VERSION . ' but Shopware 5 requires at least PHP 5.6.4'; &nbsp; &nbsp; echo ' ## Fehler '; &nbsp; &nbsp; echo 'Auf Ihrem Server läuft PHP version ' . PHP\_VERSION . ', Shopware 5 benötigt mindestens PHP 5.6.4'; &nbsp; &nbsp; return; } // Check for active auto update or manual update if (is\_file('files/update/update.json') || is\_dir('update-assets')) { &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; header('Status: 503 Service Temporarily Unavailable'); &nbsp; &nbsp; header('Retry-After: 1200'); &nbsp; &nbsp; if (file\_exists(\_\_DIR\_\_ . '/maintenance.html')) { &nbsp; &nbsp; &nbsp; &nbsp; echo file\_get\_contents(\_\_DIR\_\_ . '/maintenance.html'); &nbsp; &nbsp; } else { &nbsp; &nbsp; &nbsp; &nbsp; echo file\_get\_contents(\_\_DIR\_\_ . '/recovery/update/maintenance.html'); &nbsp; &nbsp; } &nbsp; &nbsp; return; } // Check for installation if (is\_dir('recovery/install') && !is\_file('recovery/install/data/install.lock')) { &nbsp; &nbsp; if (PHP\_SAPI == 'cli') { &nbsp; &nbsp; &nbsp; &nbsp; echo 'Shopware 5 must be configured before use. Please run the Shopware installer by executing \'php recovery/install/index.php\'.' . PHP\_EOL; &nbsp; &nbsp; } else { &nbsp; &nbsp; &nbsp; &nbsp; $basePath = 'recovery/install'; &nbsp; &nbsp; &nbsp; &nbsp; $baseURL = str\_replace(basename(\_\_FILE\_\_), '', $\_SERVER['SCRIPT\_NAME']); &nbsp; &nbsp; &nbsp; &nbsp; $baseURL = rtrim($baseURL, '/'); &nbsp; &nbsp; &nbsp; &nbsp; $installerURL = $baseURL . '/' . $basePath; &nbsp; &nbsp; &nbsp; &nbsp; if (strpos($\_SERVER['REQUEST\_URI'], $basePath) === false) { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header('Location: ' . $installerURL); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; &nbsp; &nbsp; echo ' ## Error '; &nbsp; &nbsp; &nbsp; &nbsp; echo 'Shopware 5 must be configured before use. Please run the [installer](recovery/install/?language=en).'; &nbsp; &nbsp; &nbsp; &nbsp; echo ' ## Fehler '; &nbsp; &nbsp; &nbsp; &nbsp; echo 'Shopware 5 muss zunächst konfiguriert werden. Bitte führen Sie den [Installer](recovery/install/?language=de) aus.'; &nbsp; &nbsp; } &nbsp; &nbsp; exit; } // check for composer autoloader if (!file\_exists('vendor/autoload.php')) { &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; echo ' ## Error '; &nbsp; &nbsp; echo 'Please execute "composer install" from the command line to install the required dependencies for Shopware 5'; &nbsp; &nbsp; echo ' ## Fehler '; &nbsp; &nbsp; echo 'Bitte führen Sie zuerst "composer install" aus.'; &nbsp; &nbsp; return; } require \_\_DIR\_\_ . '/autoload.php'; use Shopware\Components\HttpCache\AppCache; use Shopware\Kernel; use Symfony\Component\HttpFoundation\Request; $environment = getenv('SHOPWARE\_ENV') ?: getenv('REDIRECT\_SHOPWARE\_ENV') ?: 'production'; $kernel = new Kernel($environment, $environment !== 'production'); if ($kernel-\\>isHttpCacheEnabled()) { &nbsp; &nbsp; $kernel = new AppCache($kernel, $kernel-\\>getHttpCacheConfig()); } // Set commandline args as request uri // This is used for legacy cronjob routing. // e.g: /usr/bin/php shopware.php /backend/cron if (PHP\_SAPI === 'cli' && isset($\_SERVER['argv'][1])) { &nbsp; &nbsp; $\_SERVER['REQUEST\_URI'] = $\_SERVER['argv'][1]; &nbsp; &nbsp; // We have to use a shutdown function to prevent "headers already sent" errors. &nbsp; &nbsp; register\_shutdown\_function(function () { &nbsp; &nbsp; &nbsp; &nbsp; echo PHP\_EOL; &nbsp; &nbsp; &nbsp; &nbsp; echo 'WARNING: Executing shopware.php via CLI is deprecated. Please use the command line tool in bin/console instead.' . PHP\_EOL; &nbsp; &nbsp; }); } $request = Request::createFromGlobals(); $kernel-\\>handle($request) &nbsp; &nbsp; &nbsp; &nbsp;-\\>send();

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 08:17 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/5 "2018-05-28T08:17:30Z")

</div>

welche anpassungen muss ich in die htaccess datei machen ? ich habe die von liveserver nur&nbsp;heruntergeladen

---

<div class="post-metadata">

**Author:** ![Rednaxela](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rednaxela](https://forum.shopware.com/u/Rednaxela)\
**Post date:** [28. Mai 2018 um 08:28 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/6 "2018-05-28T08:28:15Z")

</div>

Es läuft wohl kein php bei dir

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 08:31 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/7 "2018-05-28T08:31:36Z")

</div>

also ich habe andere projekt z.b die shopware installiert und demoshop gemacht und für diese projekt localhost/shopware ist kein problem. aber nur mit die projekt die habe ich von der live shop heruntergeladen diese problem gehabt. also kann es sein das die htaccess ? also rewrite rules oder so ? ich habe kein Erfahrung mit die htaccess was muss ich ändern wenn ich die von die livesystem nur koppiert ?

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 08:40 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/8 "2018-05-28T08:40:15Z")

</div>

also wenn ich das&nbsp;

php bin/console sw:cache:clear machen&nbsp;

&nbsp;[OK] Cache for the “production” environment was successfully cleared.

das gibt mir diese benachricht also das heist die php leuft oder ? ich denke die problem ist mit die htaccess wie Sie gesagt haben? ich habe die nur von die livesystem runtergeladen aber welche anpassungen muss ich machen ?&nbsp;

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 08:43 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/9 "2018-05-28T08:43:16Z")

</div>

RewriteEngine on

#RewriteBase /shopware/

# Https config for the backend

#RewriteCond %{HTTPS} !=on  
#RewriteRule backend/(.\*) 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|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]

# Block access to VCS directories  
  
RedirectMatch 404 /\.(svn|git|hg|bzr|cvs)(/|$)

&nbsp; &nbsp; # Restrict access to root folder files  
&nbsp; &nbsp; RedirectMatch 404 /(composer.(json|lock)|README.md|UPGRADE.md)$

# Staging environment

#SetEnvIf Host “staging.test.shopware.in” SHOPWARE\_ENV=staging

# Development environment

#SetEnvIf Host “dev.shopware.in” SHOPWARE\_ENV=dev  
#SetEnv SHOPWARE\_ENV dev

DirectoryIndex index.html  
DirectoryIndex index.php  
DirectoryIndex shopware.php

Das ist ein teil des htaccess

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 08:53 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/10 "2018-05-28T08:53:43Z")

</div>

oder kann sein das die php version alt ist ? ich habe 5.6.36 ?

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 09:00 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/11 "2018-05-28T09:00:59Z")

</div>

ich habe die php version 5.6.4 heruntergeladen und geändert aber das problem ist immer noch da :S also ich weis jetzt nicht wo die problem ist ist mit htaccess oder was anderes?&nbsp;

---

<div class="post-metadata">

**Author:** ![drakon](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/drakon/32/7724_2.png) [@drakon](https://forum.shopware.com/u/drakon)\
**Post date:** [28. Mai 2018 um 09:04 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/12 "2018-05-28T09:04:48Z")

</div>

Immer dasselbe:

Version 5.6.4 ist eine **viiiiel** ältere Version als 5.6.36 (4 ist kleiner als 36!)

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 09:12 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/13 "2018-05-28T09:12:22Z")

</div>

achso ok 🙂 dann war es kein problem mit die version also 5.6.36, was kann noch die Problem sein ? also mit htaccess ? also jetzt wenn ich die seite aufrufe lädt die browser direkt eine datei runter. ich muss mit die projekt anfangen aber leider kann ich bis jetzt die seite nicht lokal sehen :S&nbsp;

Danke im voraus.&nbsp;

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 09:16 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/14 "2018-05-28T09:16:03Z")

</div>

also bevor ich die datei htaccess bei mir runtergeladen hatte ich die problem das die seite index of und dann list alle dateien an gezeigt aber jetzt lädt die browser direkt die datei mit dieses Inhalt: also die php leuft gut denke ich. kann es die problem nur bei&nbsp;die htaccess oder auch was anderes. also diese datei unten zeigt nur if abfragen also nicht das es gibt ein error bei php oder so oder ?

&nbsp;

\<?php   
 /\*\* &nbsp;\* Shopware 5 &nbsp;\* Copyright (c) shopware AG &nbsp;\* &nbsp;\* According to our dual licensing model, this program can be used either &nbsp;\* under the terms of the GNU Affero General Public License, version 3, &nbsp;\* or under a proprietary license. &nbsp;\* &nbsp;\* The texts of the GNU Affero General Public License with an additional &nbsp;\* permission and of our proprietary license can be found at and &nbsp;\* in the LICENSE file you have received along with this program. &nbsp;\* &nbsp;\* This program is distributed in the hope that it will be useful, &nbsp;\* but WITHOUT ANY WARRANTY; without even the implied warranty of &nbsp;\* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the &nbsp;\* GNU Affero General Public License for more details. &nbsp;\* &nbsp;\* "Shopware" is a registered trademark of shopware AG. &nbsp;\* The licensing of the program under the AGPLv3 does not imply a &nbsp;\* trademark license. Therefore any rights, title and interest in &nbsp;\* our trademarks remain entirely with us. &nbsp;\*/ // Check the minimum required php version if (version\_compare(PHP\_VERSION, '5.6.4', ' &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; echo ' ## Error '; &nbsp; &nbsp; echo 'Your server is running PHP version ' . PHP\_VERSION . ' but Shopware 5 requires at least PHP 5.6.4'; &nbsp; &nbsp; echo ' ## Fehler '; &nbsp; &nbsp; echo 'Auf Ihrem Server läuft PHP version ' . PHP\_VERSION . ', Shopware 5 benötigt mindestens PHP 5.6.4'; &nbsp; &nbsp; return; } // Check for active auto update or manual update if (is\_file('files/update/update.json') || is\_dir('update-assets')) { &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; header('Status: 503 Service Temporarily Unavailable'); &nbsp; &nbsp; header('Retry-After: 1200'); &nbsp; &nbsp; if (file\_exists(\_\_DIR\_\_ . '/maintenance.html')) { &nbsp; &nbsp; &nbsp; &nbsp; echo file\_get\_contents(\_\_DIR\_\_ . '/maintenance.html'); &nbsp; &nbsp; } else { &nbsp; &nbsp; &nbsp; &nbsp; echo file\_get\_contents(\_\_DIR\_\_ . '/recovery/update/maintenance.html'); &nbsp; &nbsp; } &nbsp; &nbsp; return; } // Check for installation if (is\_dir('recovery/install') && !is\_file('recovery/install/data/install.lock')) { &nbsp; &nbsp; if (PHP\_SAPI == 'cli') { &nbsp; &nbsp; &nbsp; &nbsp; echo 'Shopware 5 must be configured before use. Please run the Shopware installer by executing \'php recovery/install/index.php\'.' . PHP\_EOL; &nbsp; &nbsp; } else { &nbsp; &nbsp; &nbsp; &nbsp; $basePath = 'recovery/install'; &nbsp; &nbsp; &nbsp; &nbsp; $baseURL = str\_replace(basename(\_\_FILE\_\_), '', $\_SERVER['SCRIPT\_NAME']); &nbsp; &nbsp; &nbsp; &nbsp; $baseURL = rtrim($baseURL, '/'); &nbsp; &nbsp; &nbsp; &nbsp; $installerURL = $baseURL . '/' . $basePath; &nbsp; &nbsp; &nbsp; &nbsp; if (strpos($\_SERVER['REQUEST\_URI'], $basePath) === false) { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header('Location: ' . $installerURL); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; &nbsp; &nbsp; echo ' ## Error '; &nbsp; &nbsp; &nbsp; &nbsp; echo 'Shopware 5 must be configured before use. Please run the [installer](recovery/install/?language=en).'; &nbsp; &nbsp; &nbsp; &nbsp; echo ' ## Fehler '; &nbsp; &nbsp; &nbsp; &nbsp; echo 'Shopware 5 muss zunächst konfiguriert werden. Bitte führen Sie den [Installer](recovery/install/?language=de) aus.'; &nbsp; &nbsp; } &nbsp; &nbsp; exit; } // check for composer autoloader if (!file\_exists('vendor/autoload.php')) { &nbsp; &nbsp; header('Content-type: text/html; charset=utf-8', true, 503); &nbsp; &nbsp; echo ' ## Error '; &nbsp; &nbsp; echo 'Please execute "composer install" from the command line to install the required dependencies for Shopware 5'; &nbsp; &nbsp; echo ' ## Fehler '; &nbsp; &nbsp; echo 'Bitte führen Sie zuerst "composer install" aus.'; &nbsp; &nbsp; return; } require \_\_DIR\_\_ . '/autoload.php'; use Shopware\Components\HttpCache\AppCache; use Shopware\Kernel; use Symfony\Component\HttpFoundation\Request; $environment = getenv('SHOPWARE\_ENV') ?: getenv('REDIRECT\_SHOPWARE\_ENV') ?: 'production'; $kernel = new Kernel($environment, $environment !== 'production'); if ($kernel-\\>isHttpCacheEnabled()) { &nbsp; &nbsp; $kernel = new AppCache($kernel, $kernel-\\>getHttpCacheConfig()); } // Set commandline args as request uri // This is used for legacy cronjob routing. // e.g: /usr/bin/php shopware.php /backend/cron if (PHP\_SAPI === 'cli' && isset($\_SERVER['argv'][1])) { &nbsp; &nbsp; $\_SERVER['REQUEST\_URI'] = $\_SERVER['argv'][1]; &nbsp; &nbsp; // We have to use a shutdown function to prevent "headers already sent" errors. &nbsp; &nbsp; register\_shutdown\_function(function () { &nbsp; &nbsp; &nbsp; &nbsp; echo PHP\_EOL; &nbsp; &nbsp; &nbsp; &nbsp; echo 'WARNING: Executing shopware.php via CLI is deprecated. Please use the command line tool in bin/console instead.' . PHP\_EOL; &nbsp; &nbsp; }); } $request = Request::createFromGlobals(); $kernel-\\>handle($request) &nbsp; &nbsp; &nbsp; &nbsp;-\\>send(); &nbsp;

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 09:33 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/15 "2018-05-28T09:33:29Z")

</div>

also kann es nicht sein das die problem kommt weil ich den ordner media nicht runtergeladen habe oder ?also das spielt kein rolle oder ?

---

<div class="post-metadata">

**Author:** ![MHotait](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MHotait](https://forum.shopware.com/u/MHotait)\
**Post date:** [28. Mai 2018 um 09:48 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/16 "2018-05-28T09:48:40Z")

</div>

also die problem das ich bekomme nix bei log :S&nbsp;

---

<div class="post-metadata">

**Author:** ![olli521995](https://avatars.discourse-cdn.com/v4/letter/o/35a633/32.png) [@olli521995](https://forum.shopware.com/u/olli521995)\
**Post date:** [6. Juni 2018 um 20:28 UTC](https://forum.shopware.com/t/shopware-localhost-zeigt-index-of-und-alle-dateien/53134/17 "2018-06-06T20:28:30Z")

</div>

Hallo,

um das Problem bisschen einzugrenzen, wäre es gut die Umgebung zu kennen.

Da die .htaccess Datei ausgeführt wird, kann man bereits von Apache ausgehen. Nun stellt sich die Frage, ob die Shopware Instanz **gehostet wird oder das Hosting von dir / deinem Unternehmen ausgeht**.&nbsp;

Sind **alle Apache- und PHP-Module aktiviert die in den Requirements** beschrieben sind? ([https://developers.shopware.com/sysadmins-guide/system-requirements/](https://developers.shopware.com/sysadmins-guide/system-requirements/))

Sollte das System selbst gehostet werden muss du darauf&nbsp;achten, dass das Rewrite-Modul von Apache standardmäßig nicht aktiv ist und daher aktiviert werden muss.

&nbsp;
