# Internal Server Error bei Erstinstallation

**URL:** https://forum.shopware.com/t/internal-server-error-bei-erstinstallation/20275
**Category:** Shopware 3.5
**Tags:** installation--gettin
**Created:** [14. Mai 2014 um 14:25 UTC](https://forum.shopware.com/t/internal-server-error-bei-erstinstallation/20275 "2014-05-14T14:25:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MSSGrafik](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@MSSGrafik](https://forum.shopware.com/u/MSSGrafik)
#### Post date: [14. Mai 2014 um 14:25 UTC](https://forum.shopware.com/t/internal-server-error-bei-erstinstallation/20275/1 "2014-05-14T14:25:08Z")

</div>

Hallo alle zusammen, [color=red]HAB ES ZWAR INSTALLIERT BEKOMMEN, ABER DAS BACKEND WIRD NICHT RICHTIG GELADEN. HAT DA JEMAND EINEN TIPP?[/color] leider hab ich es noch nicht geschaft, Shopware auf den Server zu installieren. Ich weis, dass ich etwas an der .htacces ändern muss, aber was genau? Ich bekomme immer folgende Fehlermeldung: [quote]Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.[/quote] Meine .htacces sieht so aus: [code]  
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]  
# Staging-Rules start #SetEnvIf Host “staging.test.shopware.in” ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration  
Deny from all  
# Enable gzip compression  
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  
  
  
# Disables auto directory index  
Options -Indexes  
  
Options -MultiViews

# 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 [/code] Den oberen Befehl habe ich schon mehrmals erfolglos geändert: #RewriteBase /shopware/ Ich habe natürlich auch im Forum nachgeschaut, da habe ich folgende Datei gefunden: Da wird mir zwar die Installation angezeigt, aber angeblich existieren die ganzen Dateien/Verzeichnisse nicht. Kann mir da jemand weiterhelfen? [code]  
RewriteEngine on

RewriteBase /shopware/

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]  
# Staging-Rules start #SetEnvIf Host “staging.test.shopware.in” ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration #

# Deny from all

## Enable gzip compression #

# 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

# 

#  
## # Disables auto directory index #

# Options -Indexes

##

# Options -MultiViews

## #

# 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 # [/code] Vielen Dank schonmal im Vorraus 🙂

---

<div class="post-metadata">

### Author: ![MSSGrafik](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@MSSGrafik](https://forum.shopware.com/u/MSSGrafik)
#### Post date: [15. Mai 2014 um 08:38 UTC](https://forum.shopware.com/t/internal-server-error-bei-erstinstallation/20275/2 "2014-05-15T08:38:59Z")

</div>

Mit diesem Code hat die Installation funktioniert: [code]  
RewriteEngine on

RewriteBase /shopware/

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]  
 # Staging-Rules start #SetEnvIf Host „staging.test.shopware.in“ ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration #

# Deny from all

# # Enable gzip compression #

# 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

# 

#  
## # Disables auto directory index #

# Options -Indexes

# #

# Options -MultiViews

## #

# 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 #[/code] Das Backend wird irgendwie nicht geladen. Da steht nur Shopware wird geladen, passiert aber nichts. Im Frontend wird der Fehler angezeigt: [quote] Fatal error: require() [function.require]: Failed opening required ‚/var/www/web42/html/shopware/cache/doctrine/proxies/201404291539/\_\_CG\_\_ShopwareModelsShopTemplate.php‘ (include\_path=’/var/www/web42/html/shopware:/var/www/web42/html/shopware/engine/Library/:/var/www/web42/html/shopware/templates/’) in /var/www/web42/html/shopware/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 207[/quote] Kann doch eigendlich nur an der Änderung an der htacces liegen, bzw. musste ich die Rechte von mehreren Ordnern auf 777 Stellen, bei der Instalation.

---

<div class="post-metadata">

### Author: ![MSSGrafik](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@MSSGrafik](https://forum.shopware.com/u/MSSGrafik)
#### Post date: [19. Mai 2014 um 12:50 UTC](https://forum.shopware.com/t/internal-server-error-bei-erstinstallation/20275/3 "2014-05-19T12:50:39Z")

</div>

Mit folgenden Code hat es funktioniert: [code]  
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]  
# Staging-Rules start #SetEnvIf Host „staging.test.shopware.in“ ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration  
Deny from all  
# Enable gzip compression  
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  
  
  
# Disables auto directory index

# Options -Indexes

# Options -MultiViews

# 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 [/code]
