Man bemerkt u.a. das einige Konfigurationen doppelt vorhanden sind, da floxlor diese auch selbst generiert. Das könnte natürlich schon die Ursache des Fehler sein. Ich weiß nur leider nicht, wie ich es "besser" lösen kann.
Die original .htaccess für den appache sieht folgende Konfiguration vor:
php_value memory_limit 1024M
php_value max_execution_time 600
php_value upload_max_filesize 20M
php_value post_max_size 20M<IfModule mod_rewrite.c>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]RewriteRule custom/.*(config|menu|services|plugin)\.xml$ ./shopware.php?controller=Error&action=pageNotFoundError [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 installationsRewriteRule.*-[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]</IfModule><IfModule mod_alias.c># Restrict access to VCS directoriesRedirectMatch404/\\.(svn|git|hg|bzr|cvs)(/|$)# Restrict access to root folder filesRedirectMatch404/(autoload\.php|composer\.(json|lock|phar)|README\.md|UPGRADE-(.*)\.md|CONTRIBUTING\.md|eula.*\.txt|\.gitignore|.*\.dist|\.env.*)$
# Restrict access to shop configs filesRedirectMatch404/(web\/cache\/(config_\d+\.json|all.less))$
# Restrict access to theme configurationsRedirectMatch404/themes/(.*)(.*\.lock|package\.json|\.gitignore|Gruntfile\.js|all\.less|node_modules\/.*)$
</IfModule># Staging environment#SetEnvIf Host "staging.test.shopware.in" SHOPWARE_ENV=staging# Development environment#SetEnvIf Host "dev.shopware.in" SHOPWARE_ENV=dev#SetEnv SHOPWARE_ENV devDirectoryIndex index.html
DirectoryIndex index.php
DirectoryIndex shopware.php
# Disables download of configuration<Files~"\.(tpl|yml|ini)$"># Deny all requests from Apache 2.4+.<IfModule mod_authz_core.c>Require all denied
</IfModule># Deny all requests from Apache 2.0-2.2.<IfModule!mod_authz_core.c>Denyfrom all
</IfModule></Files># Enable gzip compression<IfModule mod_deflate.c>AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/javascript application/json application/font-woff application/font-woff2 image/svg+xml
</IfModule><Files~"\.(jpe?g|png|gif|css|js|woff|woff2|ttf|svg|webp|eot|ico)$"><IfModule mod_expires.c>ExpiresActive on
ExpiresDefault"access plus 1 month"</IfModule><IfModule mod_headers.c>Header append Cache-Control"public"Header unset ETag</IfModule>FileETagNone</Files># Match generated files like:# 1429684458_t22_s1.css# 1429684458_t22_s1.js<FilesMatch"([0-9]{10})_(.+)\.(js|css)$"><ifModule mod_headers.c>HeadersetCache-Control"max-age=31536000, public"</ifModule><IfModule mod_expires.c>ExpiresActive on
ExpiresDefault"access plus 1 year"</IfModule></FilesMatch># 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 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
php_value always_populate_raw_post_data -1</IfModule># AddType x-mapp-php5 .php# AddHandler x-mapp-php5 .php<IfModule mod_headers.c>Header append X-Frame-Options SAMEORIGIN
</IfModule>
Für Ideen und Vorschläge wäre ich wie immer sehr dankbar
Question
Pro-Webs
Hallo,
ich bin gerade dabei einen Shopware Shop v.5 unter nginx mit froxlor einzurichten.
Das ist jedoch relativ problematisch.
Aktuell habe ich im Froxlor folgende vHost Einstellung zur Domain:
Diese Einstellung führt zu einem 500 error.
Meine 35_froxlor_ssl_vhost_studio-ausruestung.de.conf sieht damit leider wie folgt aus:
Man bemerkt u.a. das einige Konfigurationen doppelt vorhanden sind, da floxlor diese auch selbst generiert. Das könnte natürlich schon die Ursache des Fehler sein. Ich weiß nur leider nicht, wie ich es "besser" lösen kann.
Die original .htaccess für den appache sieht folgende Konfiguration vor:
Für Ideen und Vorschläge wäre ich wie immer sehr dankbar
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.