error_log levels

flash nginx-forum at nginx.us
Sat Apr 10 07:28:29 MSD 2010


So I guess I need to start with my rewrites...here they are

rewrite ^/([0-9]+)/([_0-9a-zA-Z-]+)/?$  $theme/listing.php?mls=$1 last;
rewrite ^/([0-9]+)/([_0-9a-zA-Z-]+)+.html?$  $theme/listing.php?mls=$1 last;
rewrite ^/([0-9]+)/?$  $theme/listing.php?mls=$1 last;
rewrite ^/new-listings/new-listings-for-(+)-([0-9]+)-([_0-9a-zA-Z-]+)/?$ $theme/newListings.php?month=$1&day=$2 last;

here's what I'm trying to capture

example.com/(mls number)
example.com/(mls number)/(mls address).html
example.com/(mls number)/(mls address)/

the mls number is either a 6 digit or a 7 digit number
mls address is really irrelevant from a technical standpoint but needed for SEO

These rewrites are working like I want them too but are they causing my prce errors?

Flash

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,72993,73353#msg-73353




More information about the nginx mailing list