Welcome! Log In Create A New Profile

Advanced

nginx: [emerg] directive "rewrite" is not terminated by "; " in /usr/local/nginx/conf/nginx.conf:67

adam estes
March 05, 2012 11:12AM
63 rewrite ^/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$
/gymrss.php?channels&$2&$4&$6 last;
64 rewrite ^/(news|maps)/?(page([0-9]+)\.html)?$ /map.php?$1&start=$3 last;
66 rewrite ^/(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$
/map.php?$2=$4&$1&start=$6 last;
67 rewrite ^/rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$
/gymrss.php?$9=$8&$2&$4&$6&gzip=$10 last;
68 rewrite ^/[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$
/gymrss.php?$8=$1&$3&$5&$7&gzip=$9 last;
69 rewrite ^/([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$
/gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 last;
70 rewrite ^/sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 last;
71 rewrite ^/[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$
/sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 last;
72 rewrite ^/([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$
/sitemap.php?$1=$2&gzip=$3 last;

So what exactly am I missing?

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

nginx: [emerg] directive "rewrite" is not terminated by "; " in /usr/local/nginx/conf/nginx.conf:67

adam estes March 05, 2012 11:12AM

Re: nginx: [emerg] directive "rewrite" is not terminated by "; " in /usr/local/nginx/conf/nginx.conf:67

Maxim Dounin March 05, 2012 11:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
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