Maxim Dounin
March 12, 2010 06:42PM
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
Subject Author Posted

document root problem?

flash March 12, 2010 06:17PM

Re: document root problem?

Maxim Dounin March 12, 2010 06:42PM

Re: document root problem?

Dave Evans March 12, 2010 06:44PM

Re: document root problem?

flash March 12, 2010 07:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready