# 5.1 Internal Server Error beim Aufrufen des Backends

**URL:** https://forum.shopware.com/t/5-1-internal-server-error-beim-aufrufen-des-backends/31642
**Category:** Installation/Einstieg
**Created:** [24. Oktober 2015 um 10:54 UTC](https://forum.shopware.com/t/5-1-internal-server-error-beim-aufrufen-des-backends/31642 "2015-10-24T10:54:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![appelche](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@appelche](https://forum.shopware.com/u/appelche)
#### Post date: [24. Oktober 2015 um 10:54 UTC](https://forum.shopware.com/t/5-1-internal-server-error-beim-aufrufen-des-backends/31642/1 "2015-10-24T10:54:32Z")

</div>

Moin, ich habe mir für Testzwecke auf einem 1und1 Hosting die 5.1 installiert. Installations-Wizard lief einwandfrei durch und das Frontend läuft auch. Allerdings bekomme ich im Backend einen 500 Internal Server Error htaccess sieht wie folgt aus. was muss ich gegebenenfalls anpassen? Wenn ich #RewriteBase /shopware/ in RewriteBase / ändere dann läuft es weiter aber es kommt kein css. Wäre cool wenn jemand helfen könnte [quote]  
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)(/|$)

```
# Restrict access to root folder files
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 # Disables download of configuration  
# Deny all requests from Apache 2.4+.  
  
Require all denied

```
# Deny all requests from Apache 2.0-2.2.
<ifmodule>
    Deny from all
</ifmodule>

```

# Enable gzip compression  
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/javascript application/json  
  
  
ExpiresActive on  
ExpiresDefault “access plus 1 month”

```
<ifmodule mod_headers.c>
    Header append Cache-Control "public"
    Header unset ETag
</ifmodule>

FileETag None

```

# Match generated files like: # 1429684458\_t22\_s1.css # 1429684458\_t22\_s1.js  
  
Header set Cache-Control “max-age=31536000, public”

```
<ifmodule mod_expires.c>
    ExpiresActive on
    ExpiresDefault "access plus 1 year"
</ifmodule>

```

# Disables auto directory index  
Options -Indexes  
  
Options -MultiViews

# php\_value memory\_limit 256M

# 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  
Header append X-Frame-Options SAMEORIGIN  
[/quote]

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [29. Oktober 2015 um 00:40 UTC](https://forum.shopware.com/t/5-1-internal-server-error-beim-aufrufen-des-backends/31642/2 "2015-10-29T00:40:54Z")

</div>

Gibt es eine aussagekräftige Fehlermeldung im Error-Log der Website oder in den Shopware-Logs?
