Welcome! Log In Create A New Profile

Advanced

Nginx problem - failed (20: Not a directory)

Ken
July 13, 2010 05:34AM
I have some rewrites for the SMF forum and they work just fine.
The problem I'm having is that they are filling up my error log with "failed (20: Not a directory)" messages for some reason.

My rewrites are :

location /forum/ {
root /usr/www-data/domain.com/httpdocs;
if (!-e $request_filename) {
rewrite ^/index\.php/([a-z]+),([0-9]+)\.(\w+)/(\w+),(\w+)/(\w+)\.html /index.php?$1=$2.$3&$4=$5&$6 last;
rewrite ^/index\.php/([a-z]+),([0-9]+)\.(\w+)/(\w+),(\w+)\.html /index.php?$1=$2.$3&$4=$5 last;
rewrite ^/index\.php/([a-z]+),([0-9]+)\.(\w+)/(\w+)/(\w+)\.html /index.php?$1=$2.$3&$4&$5 last;
rewrite ^/index\.php/([a-z]+),([0-9]+)\.(\w+)/(\w+)\.html /index.php?$1=$2.$3&$4 last;
rewrite ^/index\.php/([a-z]+),([0-9]+)\.(\w+)\.html /index.php?$1=$2.$3 last;
}
}


The exact error message is :

[error] 75594#0: *1 open() "/usr/www-data/domain.com/httpdocs/forum/index.php/topic,27483.msg586060/topicseen.html" failed (20: Not a directory), client: XXX.XXX.XXX.XXX, server: domain.com, request: "GET /forum/index.php/topic,27483.msg586060/topicseen.html HTTP/1.1", host: "www.domain.com:8080"

Could someone please help me with this?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx problem - failed (20: Not a directory)

Ken July 13, 2010 05:34AM

Re: Nginx problem - failed (20: Not a directory)

Maxim Dounin July 13, 2010 01:22PM

Re: Nginx problem - failed (20: Not a directory)

任晓磊 July 13, 2010 09:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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