We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Guys,
I've tried and tried to get this working, searched and read every post about this 404 issue.
I'm hoping this is something you can advise and clear up why please and what needs to happen to make it work.
In my dev site visiting /magmi/web/magmi.php it always 404's
I've updated the nginx.conf.simple file with the below and other versions of the below from alternate sources
location ~ /magmi/(.) { root $MAGE_ROOT; #root /home/storm/sites/example.com/magmi; try_files /web/$1 /web/$1/; location ~ ^/magmi/(..php)$ { try_files /web/$1 =404; fastcgi_pass unix:/var/run/php-fpm/php-fpm-EXAMPLE.com.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PHP_FLAG "session.auto_start=off \n #suhosin.session.cryptua=off"; #fastcgi_param PHP_VALUE "memory_limit=2G \n max_execution_time=3600"; fastcgi_read_timeout 3600s; fastcgi_connect_timeout 3600s; include fastcgi_params; } }
Cheers, Joe
The text was updated successfully, but these errors were encountered:
Hi again,
To add I've also tried both snippets from #23 too and also don't work "#23"
Sorry, something went wrong.
If you install Magmi using composer, then ensure proper path to it, e.g.:
location /magmi/ { auth_basic off; alias /srv/www/example.com/vendor/macopedia/magmi2/magmi/web/; location ~ \.php$ { fastcgi_pass unix:/var/run/php-fpm/php-fpm-example.com.sock; fastcgi_index index.php; # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # $request_filename makes more sense in combination with alias fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off"; fastcgi_param PHP_VALUE "memory_limit=2G \n max_execution_time=3600"; fastcgi_read_timeout 3600s; fastcgi_connect_timeout 3600s; include fastcgi_params; } }
With any of the above configs, the proper URI is /magmi/magmi.php (without web).
/magmi/magmi.php
web
No branches or pull requests
Hi Guys,
I've tried and tried to get this working, searched and read every post about this 404 issue.
I'm hoping this is something you can advise and clear up why please and what needs to happen to make it work.
In my dev site visiting /magmi/web/magmi.php it always 404's
I've updated the nginx.conf.simple file with the below and other versions of the below from alternate sources
location ~ /magmi/(.) {
root $MAGE_ROOT;
#root /home/storm/sites/example.com/magmi;
try_files /web/$1 /web/$1/;
location ~ ^/magmi/(..php)$ {
try_files /web/$1 =404;
fastcgi_pass unix:/var/run/php-fpm/php-fpm-EXAMPLE.com.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_FLAG "session.auto_start=off \n #suhosin.session.cryptua=off";
#fastcgi_param PHP_VALUE "memory_limit=2G \n max_execution_time=3600";
fastcgi_read_timeout 3600s;
fastcgi_connect_timeout 3600s;
include fastcgi_params;
}
}
Cheers,
Joe
The text was updated successfully, but these errors were encountered: