Welcome! Log In Create A New Profile

Advanced

Re: nginx for cs-cart

Francis Daly
October 14, 2011 04:40PM
On Fri, Oct 14, 2011 at 04:15:00PM -0400, vidan wrote:

Hi there,

> yes, check in the logs, bla-bla.html not found

Does bla-bla.html exist?

The following nginx.conf seems to do for me what you describe you want
(curl -v http://localhost:8000/there.html gives me the content of the
file; curl -v http://localhost:8000/notthere.html gives me the output
of /index.php with REQUEST_URI set to /notthere.html)

If it doesn't do the same for you, what is different?

===
events {
worker_connections 1024;
debug_connection 127.0.0.1;
}

http {
server {
listen 8000;
include fastcgi.conf;
try_files $uri $uri/ /index.php?sef_rewrite=1;

location = /index.php {
fastcgi_pass unix:php.sock;
}
}
}
===

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx for cs-cart

vidan October 14, 2011 02:36PM

Re: nginx for cs-cart

Nginx User October 14, 2011 03:32PM

Re: nginx for cs-cart

vidan October 14, 2011 04:14PM

Re: nginx for cs-cart

Francis Daly October 14, 2011 04:40PM

Re: nginx for cs-cart

vidan October 14, 2011 05:02PM

Re: nginx for cs-cart

Francis Daly October 14, 2011 05:18PM

Re: nginx for cs-cart

vidan October 16, 2011 05:30PM

Re: nginx for cs-cart

vidan October 27, 2011 01:08AM

Re: nginx for cs-cart

Francis Daly October 28, 2011 10:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready