http://code.google.com/p/phusion-passenger/issues/detail?id=449
Summary:
The passenger-install-nginx-module script is hardcoded to download
PCRE from
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.8.tar.gz,
which does not exist. Only 7.9 and 8.0 are in that directory.
Users trying to use rewrite rules but using an nginx without the
rewrite module will probably see errors like:
unknown directive "set" in /path/to/server.conf:10
unknown directive "if" in /path/to/server.conf:10
Hope this helps!
Chris Kampmeier
I'm looking forward to the next release of Passenger, because this
problem has given me some grief. I'm still trying to figure out how to
work around it.
For other hopeful googlers, I have the following error messages:
Starting nginx: [emerg]: without PCRE library "gzip_disable" supports
builtin "msie6" mask only in /opt/nginx/conf/nginx.conf:28
...and if I remove that, I have:
Starting nginx: [emerg]: unknown directive "rewrite" in /opt/nginx/
conf/nginx.conf:43
I believe the solution will be to install PCRE with apt-get and tell
Passenger where PCRE can be found. I'll post back here if/when I
figure it out, but any help would certainly be appreciated.
Thanks,
- Trevor
Ah, my mistake - Passenger gem has been updated. I was looking at the
wrong machine! ;)
Thank you!
- Trevor