Ich habe gerade OXID auf meinem Testserver (RPi, Nginx) installiert. Der Shop wird mir auch angezeigt. Lediglich der Adminbereich klemmt. Da wird mir das Frameset angezeigt, jeweils mit der Shop-Startseite. (s. Screenshot).
Hat sicherlich mit dem Rewrite im Server-File zu tun. Wer kann helfen? Hier mein Server-File für den Shop:
server {
listen 80;
listen [::]:80;server_name oxid.pi;
root /var/www/oxid;
if ($request_method ~ ^(TRACE|TRACK)$ ) {
return 403;
}location ~ (/.|EXCEPTION_LOG.txt|.log$|.tpl$|pkg.rev) {
deny all;
}location ~ /out/pictures/.*(.jpg|.gif|.png)$ {
try_files $uri /core/utils/getimg.php;
}location ~ ^/(admin|setup)/?$ {
}location ~ /(core|export|modules|out|tmp|views)/ {
}location / {
try_files $uri $uri/ /oxseo.php;
}location = /oxseo.php {
if ($args ~ “mod_rewrite_module_is=off”) {
rewrite /oxseo.php /oxseo.php?mod_rewrite_module_is=on? break;
}
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}location ~ .php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}index index.php index.html;
}upstream php {
server unix:/var/run/php/php7.0-fpm.sock;
}