# Installation / Linux Apache  Problem

**URL:** <https://forum.shopware.com/t/installation-linux-apache-problem/59368>\
**Category:** Installation/Einstieg\
**Created:** [3. Mai 2019 um 17:49 UTC](https://forum.shopware.com/t/installation-linux-apache-problem/59368 "2019-05-03T17:49:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soubi](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Soubi](https://forum.shopware.com/u/Soubi)\
**Post date:** [3. Mai 2019 um 17:49 UTC](https://forum.shopware.com/t/installation-linux-apache-problem/59368/1 "2019-05-03T17:49:56Z")

</div>

Hallo,&nbsp;

ich habe versucht auf einem Testserver (in einem unterordner, der „shoptest“ heisst, Shopware zu installieren und habe nur die index.php hochgeladen und ausgeführt. Nach dem Download sollte eigentlich der Installations-Assistent erscheinen, jedoch erscheint bei mir nur das Directory-Listing.&nbsp;

Nun, ich dachte - okay, das ist ein .htaccess „Problem“, daher habe ich die .htaccess editiert, die RewriteBase einkommentiert und auf /shoptest/ gesetzt. So. nun sollte es als Homeverzeichnis gelten und die .htaccess anstatt der index.php die rewrite rule akzeptieren und die shopware.php hernehmen. Das tut er aber immer noch nicht.&nbsp;

Er zeigt immer noch das Listing an.&nbsp;

Soweit so gut. Dann dachte ich, okay, vielleicht habe ich in der Virtual Host Datei nicht angegeben, dass die Htacces die Regeln überschreibt und Symlinks nicht akzeptiert. Aber - siehe da - ich habe damals folgendes hinzugefügt:&nbsp;

-Directory /var/www/html/verzeichnisdesVirtualHosts/html-  
&nbsp; &nbsp; Options Indexes FollowSymLinks  
&nbsp; &nbsp; AllowOverride All  
&nbsp; &nbsp; Require all granted  
-/Directory-

(Die Bindestriche sind statt dem größer-kleiner Zeichen, da sie sonst nicht angezeigt werden)  
&nbsp;

Daher sollte das also auch passen.&nbsp;

Weiß wer von euch vielleicht, woran es noch liegen könnte ?&nbsp;

Ich aktualisiere täglich alle Pakete - Php 7.2.&nbsp; ist drauf. Andere .htaccess im Stammverzeichnis gibt es, da es wordpress ist, aber ist mit dem Unterverzeichnis nicht gekoppelt.&nbsp;

Bitte um einen Ratschlag, wenn wer einen weiß :)&nbsp;

&nbsp;

Danke, Lg&nbsp;

&nbsp;

Soubi

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Murmeltier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/murmeltier/32/16126_2.png) [@Murmeltier](https://forum.shopware.com/u/Murmeltier)\
**Post date:** [3. Mai 2019 um 18:07 UTC](https://forum.shopware.com/t/installation-linux-apache-problem/59368/2 "2019-05-03T18:07:27Z")

</div>

Schau mal in Deiner Apache Config unter: DirectoryIndex  
Was steht da?

---

<div class="post-metadata">

**Author:** ![Soubi](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Soubi](https://forum.shopware.com/u/Soubi)\
**Post date:** [3. Mai 2019 um 18:14 UTC](https://forum.shopware.com/t/installation-linux-apache-problem/59368/3 "2019-05-03T18:14:31Z")

</div>

Hi,&nbsp;

vielen Dank für deine Antwort. in der apache Config steht folgendes:&nbsp;

&nbsp;

-Directory /-  
&nbsp; &nbsp; &nbsp; &nbsp; Options FollowSymLinks  
&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None  
&nbsp; &nbsp; &nbsp; &nbsp; Require all denied  
-/Directory-

-Directory /usr/share-  
&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None  
&nbsp; &nbsp; &nbsp; &nbsp; Require all granted

-Directory /var/www/-  
&nbsp; &nbsp; &nbsp; &nbsp; Options Indexes FollowSymLinks  
&nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None  
&nbsp; &nbsp; &nbsp; &nbsp; Require all granted  
-/Directory-

Info dazu: unter /var/www/ liegen auch die Virtual hosts, die mit dem jeweiligen Domains benannt sind.

&nbsp;

Nun habe ich den Fehler beim 3. Durchlesen dieser Nachricht gefunden …da steht AllowOverride NONE…&nbsp;

Ohje …bin ich ein Dummkopf…&nbsp;

Vielen Dank :)&nbsp;

---

<div class="post-metadata">

**Author:** ![Murmeltier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/murmeltier/32/16126_2.png) [@Murmeltier](https://forum.shopware.com/u/Murmeltier)\
**Post date:** [3. Mai 2019 um 18:28 UTC](https://forum.shopware.com/t/installation-linux-apache-problem/59368/4 "2019-05-03T18:28:07Z")

</div>

🙂
