I have resolved this issue by setting up multiple hosts with 'fastcgi_params'; this methods works wonderfully! Many thanks Andrejs!by iqbalmp - Nginx Mailing List - English
Hi, I have this .htaccess settings along with my Apache website; now I am moving this in to Nginx. Thus I wonder how can I put below 'SetEnvIf' parmeters in .htaccess file to Nginx configuraiton? I think its by setting up 'fastcgi_param', please help me to do the conversion. SetEnvIf HOST albany\.mywebsite\.com MAGE_RUN_CODE=w2760 SetEnvIf HOST albany\.mywebsite\.com MAGE_RUN_TYPE=websiteby iqbalmp - Nginx Mailing List - English
I had changed my 'default.vcl' to: /etc/varnish/default.vcl ========================================================= backend default { .host = "127.0.0.1"; .port = "8080"; } acl purge { "localhost"; "127.0.0.1"; } sub vcl_recv { ................................. .............................. =================================================by iqbalmp - Nginx Mailing List - English
Hi, I have installed 'Varnish' cache along with Nginx; also configuration has been changed accordingly. But now i cannot access pages (could not cnnect to the host); Is there any settings that I have missed; please help. OS:CentOS /etc/default/varnish ========================================================= DAEMON_OPTS="-a :80 \ -T localhost:6082 \ -by iqbalmp - Nginx Mailing List - English
Thank You Anoop Alias, smallfish, I have done it through my php configuration.by iqbalmp - Nginx Mailing List - English
Hi, I have installed APC in my server (CentOS) using 'pecl install apc'; also nginx is there. How can configure APC for nginx? Please help.by iqbalmp - Nginx Mailing List - English
Hi, I have installed nginx with my server; also it is displaying my 'index.html' in browser. But when I am trying to run 'index.php' it shows an error: '500 Internal Server Error'. Please help me to resolve this issue. My 'nginx.conf' file is as follows: ================= user nginx; worker_processes 1; error_log /var/log/nginx/error.log; #error_log /var/log/nginx/erroby iqbalmp - New Member Introductions
http://winginx.com/htaccess resulted : ===================== # nginx configuration index index.php; charset off; location ~ /(media|skin|js)/ { } location /api { rewrite ^/api/rest /api.php?type=rest break; } location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php break; } } location /RELEASE_NOTES.txt { deny all; } ================ But Iby iqbalmp - Nginx Mailing List - English
http://winginx.com/htaccess resulted : ===================== # nginx configuration index index.php; charset off; location ~ /(media|skin|js)/ { } location /api { rewrite ^/api/rest /api.php?type=rest break; } location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php break; } } location /RELEASE_NOTES.txt { deny all; } ================ But Iby iqbalmp - Nginx Mailing List - English
Hi, I am pasting part of my .htacess file used in Apache; please help me to convert this to nginx configuraiton settings: ....................................... <IfModule mod_rewrite.c> ############################################ ## enable rewrites Options +FollowSymLinks RewriteEngine on ############################################ ## you can put here your magenby iqbalmp - Nginx Mailing List - English
kustodian, Thank You for your fast reply, i have resolved this by editing one of my 'location' in my nginx.conf file: .............. location / { root /var/www/html; index index.php index.html index.htm; fastcgi_param REDIRECT_STATUS 200; } ..................... Previously this was '/usr/share/nginx/html', but it was 'var/www/html' in all other 'locaby iqbalmp - Nginx Mailing List - English
HI, Ngix giving '404 Not Found' error when I am trying to access the below url: http://mysite.com/skin/frontend/tester/default/css/styles-ie.css' but at the same time I can access php file from the same locaiton: http://mysite.com/skin/frontend/tester/default/css/test.php Please help.by iqbalmp - Nginx Mailing List - English
HI, I am very new to nginx; I have successfully installed nginx in system by using 'yum' in CentOS. I can see 'index.html' page in my localhost; but, when I have tested with a php page - test.php- it is not working, just downloading the php page through browser. It seems to be php is not started with nginx. Please help me.by iqbalmp - New Member Introductions