# htaccess klapt nicht richtig......

**URL:** <https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [14. August 2014 um 14:58 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893 "2014-08-14T14:58:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shank231](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@shank231](https://forum.shopware.com/u/shank231)\
**Post date:** [14. August 2014 um 14:58 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/1 "2014-08-14T14:58:07Z")

</div>

Also wenn ich auf meine Seite gehen will erscheint das hier: ( [http://www1.xup.to/exec/ximg.php?fid=10508070](http://www1.xup.to/exec/ximg.php?fid=10508070) ) So sieht meine htaccess aus, der hoster meint ich muss was ändern, aber ich weiß nicht was. [code] # Liste der Dateiendungen die als PHP5.4 verarbeitet werden sollen AddHandler php-fastcgi5.4 .php .phtml   
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)\/)
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]
</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>
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/json
</ifmodule><ifmodule mod_expires.c>
<files>
ExpiresActive on
ExpiresDefault "access plus 1 month"
FileETag None
<ifmodule mod_headers.c>
Header append Cache-Control "public"
Header unset ETag
</ifmodule>
</files>
</ifmodule> # Disables auto directory index <ifmodule mod_autoindex.c>
Options -Indexes
</ifmodule><ifmodule mod_negotiation.c>
Options -MultiViews
</ifmodule><ifmodule mod_php5.c>
# 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
</ifmodule> # AddType x-mapp-php5 .php # AddHandler x-mapp-php5 .php [/code]
```

---

<div class="post-metadata">

**Author:** ![dirk\_designverign](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@dirk\_designverign](https://forum.shopware.com/u/dirk_designverign)\
**Post date:** [14. August 2014 um 15:31 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/2 "2014-08-14T15:31:48Z")

</div>

Da deine php-Datei nicht ordnungsgemäß an PHP übergeben wird, würde ich vermuten, dass Du die zweite Zeile anpassen musst. Was da hin muss, sollte dein Hoster allerdings wissen.

---

<div class="post-metadata">

**Author:** ![shank231](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@shank231](https://forum.shopware.com/u/shank231)\
**Post date:** [14. August 2014 um 22:34 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/3 "2014-08-14T22:34:40Z")

</div>

hmm hat jemand ne idee ?

---

<div class="post-metadata">

**Author:** ![shank231](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@shank231](https://forum.shopware.com/u/shank231)\
**Post date:** [15. August 2014 um 09:18 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/4 "2014-08-15T09:18:40Z")

</div>

[quote=“shank23”]hmm hat jemand ne idee ?[/quote] ???

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [15. August 2014 um 11:30 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/5 "2014-08-15T11:30:40Z")

</div>

Hallo, da musst du wirklich deinen Hoster kontaktieren. Da kann ich auch keinen weiteren Tipp geben. Wenn du den Quellcode angezeigt bekommst, so wird bei dir PHP gar nicht richtig ausgeführt! Dü wirst also jede PHP-Datei nicht ausführen können. Das ist erstmal unabhängig von Shopware zu sehen Sebastian

---

<div class="post-metadata">

**Author:** ![dirk\_designverign](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@dirk\_designverign](https://forum.shopware.com/u/dirk_designverign)\
**Post date:** [15. August 2014 um 12:35 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/6 "2014-08-15T12:35:45Z")

</div>

[quote=„Sebastian Klöpper“] da musst du wirklich keinen Hoster kontaktieren. [/quote] Kann es sein, dass du aus einem d ein k gemacht hast?

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [15. August 2014 um 12:46 UTC](https://forum.shopware.com/t/htaccess-klapt-nicht-richtig/21893/7 "2014-08-15T12:46:50Z")

</div>

Oh ja - sorry 😉
