# mod\_rewrite geht nicht

**URL:** <https://forum.shopware.com/t/mod-rewrite-geht-nicht/10257>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [3. Dezember 2012 um 21:56 UTC](https://forum.shopware.com/t/mod-rewrite-geht-nicht/10257 "2012-12-03T21:56:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hansihans](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@Hansihans](https://forum.shopware.com/u/Hansihans)\
**Post date:** [3. Dezember 2012 um 21:56 UTC](https://forum.shopware.com/t/mod-rewrite-geht-nicht/10257/1 "2012-12-03T21:56:51Z")

</div>

Hallo, wollte Shopware 4 mal probehalber installieren. Leider hab ich Probleme mit dem mod\_rewrite, ist nicht auf “1” bei der Installation. Hier mal meine .htaccess. Har wer nen Tipp. Bin mit den Hinweisen hier im Forum nicht wirklich weiter gekommnen.  
RewriteEngine on

RewriteBase /eshop

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] \</ifmodule\># Staging-Rules start #SetEnvIf Host "staging.test.shopware.in" ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration\<files\> Deny from all \</files\># Enable gzip compression\<ifmodule mod\_deflate.c\> # disable compression on iconset due to loading problems in google chrome on windows SetEnvIfNoCase Request\_URI icon-set.css no-gzip dont-vary

```
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

# 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

---

<div class="post-metadata">

**Author:** ![Hansihans](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@Hansihans](https://forum.shopware.com/u/Hansihans)\
**Post date:** [5. Dezember 2012 um 09:13 UTC](https://forum.shopware.com/t/mod-rewrite-geht-nicht/10257/2 "2012-12-05T09:13:14Z")

</div>

gibt es niemenaden hier der mir weiterhelfen kann? Vielelicht kann mir jemand ja mal seine .htaccess posten, dann kann ich mal schauen ob es Unterschiede gibt und meine versuchen anzupassen.

---

<div class="post-metadata">

**Author:** ![Heiner\_Lohaus](https://avatars.discourse-cdn.com/v4/letter/h/b5a626/32.png) [@Heiner\_Lohaus](https://forum.shopware.com/u/Heiner_Lohaus)\
**Post date:** [6. Dezember 2012 um 18:58 UTC](https://forum.shopware.com/t/mod-rewrite-geht-nicht/10257/3 "2012-12-06T18:58:23Z")

</div>

Hi, im Install-Verzeichnis gibt es noch eine weitere .htaccess-Datei. Die müsstes du vielleicht auch anpassen: `<ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /eshop/install
    RewriteRule .* - [E=MOD_REWRITE:1]
    RewriteCond %{REQUEST_URI} !(\/(assets|templates)\/)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
</ifmodule>DirectoryIndex index.php` Ansonsten einfach ignorieren. Für den Installer wird kein “mod\_rewrite” benötigt. 😉 Heiner

---

<div class="post-metadata">

**Author:** ![Hansihans](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@Hansihans](https://forum.shopware.com/u/Hansihans)\
**Post date:** [11. Dezember 2012 um 13:25 UTC](https://forum.shopware.com/t/mod-rewrite-geht-nicht/10257/4 "2012-12-11T13:25:55Z")

</div>

… hab den Fehler einfach ignoriert. Jetzt geht Shopware4. DANKE
