# shopware.php kann nicht gefunden werden?

**URL:** https://forum.shopware.com/t/shopware-php-kann-nicht-gefunden-werden/27650
**Category:** Programmierung
**Created:** [27. Mai 2015 um 12:31 UTC](https://forum.shopware.com/t/shopware-php-kann-nicht-gefunden-werden/27650 "2015-05-27T12:31:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![designbengel](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@designbengel](https://forum.shopware.com/u/designbengel)
#### Post date: [27. Mai 2015 um 12:31 UTC](https://forum.shopware.com/t/shopware-php-kann-nicht-gefunden-werden/27650/1 "2015-05-27T12:31:48Z")

</div>

Hallo! Ich habe eine eigene 404 Seite eingestellt und bei den SEO Routing Einstellungen “Standard Fehlerseite anzeigen” ausgewählt. Soweit so gut und die 404 Seite wird richtig angezeigt jedoch ist die 404 Seite auch 404… Beispiel: Ich gebe [www.meinedomain.de/bdjhbdkfhbdf](http://www.meinedomain.de/bdjhbdkfhbdf) ein -\> Wird weitergeleitet auf [www.meinedomain.de/shopware.php](http://www.meinedomain.de/shopware.php) -\> shopware.php hat auch den Fehlercode 404. Mein Analysetool bemängelt dass shopware.php nicht gefunden werden kann. Ist das durch ein Updatefehler entstanden oder was ist die shopware.php ? Oder muss ich irgendwas in der htaccess ändern? [code]AddHandler php56-cgi .php php\_value allow\_url\_fopen 1 php\_value memory\_limit 256M  
ExpiresActive On  
ExpiresDefault “access plus 1 month 1 days”  
ExpiresByType text/html “access plus 1 month 1 days”  
ExpiresByType image/gif “access plus 1 month 1 days”  
ExpiresByType image/jpeg “access plus 1 month 1 days”  
ExpiresByType image/png “access plus 1 month 1 days”  
ExpiresByType text/css “access plus 1 month 1 days”  
ExpiresByType text/javascript “access plus 1 month 1 week”  
ExpiresByType application/x-javascript “access plus 1 month 1 days”  
ExpiresByType text/xml “access plus 1 seconds”  
# 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  
# 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
      AddOutputFilterByType DEFLATE text/plain
      AddOutputFilterByType DEFLATE text/xml
      AddOutputFilterByType DEFLATE application/xhtml+xml
      AddOutputFilterByType DEFLATE text/css
      AddOutputFilterByType DEFLATE application/xml
      AddOutputFilterByType DEFLATE image/svg+xml
      AddOutputFilterByType DEFLATE application/rss+xml
      AddOutputFilterByType DEFLATE application/atom_xml
      AddOutputFilterByType DEFLATE application/javascript
      AddOutputFilterByType DEFLATE application/x-javascript
      AddOutputFilterByType DEFLATE application/x-httpd-php
      AddOutputFilterByType DEFLATE application/x-httpd-fastphp

      BrowserMatch ^Mozilla/4 gzip-only-text/html
      BrowserMatch ^Mozilla/4\.0[678] no-gzip
      BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

```

 Header append Vary User-Agent env=!dont-vary 

RewriteEngine on  
RewriteBase /  
Options +FollowSymlinks

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]

RewriteCond %{HTTP:Host} ^[meinedomain.de](http://meinedomain.de) [nc] (hier steht die richtige drinnen 😉  
RewriteRule (.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [L,R=301]

RewriteCond %{SERVER\_PORT} !^443$  
RewriteRule (.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [L,R=301]

RewriteCond %{HTTPS} !=on  
RewriteRule (.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [L,R=301]

# HTTPS config for the backend

RewriteCond %{HTTPS} !=on  
RewriteRule backend/(.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [L,R=301]

# 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  
 [/code] Dankeschön für die Unterstützung und viele Grüße Elisa
