weird redirect

Almir Karic redduck666 at gmail.com
Thu Feb 21 22:21:39 MSK 2008


reading the docs helped (surprise, surprise), thanks :-)

perhaps it would be a good idea to allow nginx to apply more than one
configuration at a time?

On Thu, Feb 21, 2008 at 7:28 PM, Roxis <roxis at list.ru> wrote:
> On Thursday 21 February 2008, Almir Karic wrote:
>
>
> > 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?
>
>  firs read how nginx uses location
>
>



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





More information about the nginx mailing list