Hello!
On Fri, Mar 12, 2010 at 06:17:58PM -0500, flash wrote:
> I am running a wordpress setup with nginx and I have an error
> that I haven't been able to track down. In my log files I'm
> getting a lot of errors like this:
>
> " 17434#0: *140 open() "/home/tcb/public_htmlon" failed (2: No
> such file or directory) ... "
>
> This is causing a lot of my pages to not load. My document root
> is /home/tcb/public_html without the "on" This error is not
> isolated to any particular file or script (i.e. getting it for
> phpmyadmin, wordpress pages, etc) but it is not consistent.
>
> For example - here is a rewrite rule I have in place: (using the
> wordpress plugin and rewrites)
>
> location / {
> rewrite log on; //side question - where does this write too?
This rewrites any uri containing 'log' into 'on' (which isn't
really valid uri). And this causes the message you have.
If you want rewrite logging you should switch it on via
rewrite_log on;
Note '_'. Rewrites will be logged to error_log at notice level.
[...]
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx