weird redirect

Almir Karic redduck666 at gmail.com
Thu Feb 21 21:19:31 MSK 2008


location /~redduck666 {
        alias /home/redduck666/static_html;
}


this is what i have, and it works as expected.

than i add:

            location ~ .ogg$ {
                access_log /var/log/nginx/ogg.log;
            }

now, when i try to access /~redduck666/<anything>.ogg nginx behaves weirdly:

2008/02/21 19:14:49 [error] 10444#0: *1985762 open()
"/usr/html/~redduck666/file.ogg" failed (2: No such file or
directory), client: 89.142.54.200, server: static.kiberpipa.org,
request: "GET /~redduck666/file.ogg HTTP/1.1", host:
"static.kiberpipa.org", referrer:
"http://static.kiberpipa.org/~redduck666/"


i have NO idea where it got the /usr/html part, it is not mentioned
anywhere in my config.

any pointers on what i am doing wrong?

-- 
error: one bad user found in front of screen





More information about the nginx mailing list