Problem with nginx config proxying to mongrel
Saimon Moore
saimonmoore at gmail.com
Tue Nov 14 15:29:32 MSK 2006
Hi Igor,
saimon at iris ~/dev/freelance/myapp.org $ ls -l public/es//index.html
-rw-rw-rw- 1 saimon users 1873 Nov 14 13:29 public/es//index.html
saimon at iris ~/dev/freelance/myapp.org $ ls -la public/
total 40
drwxr-xr-x 13 saimon users 664 Nov 14 13:30 .
drwxr-xr-x 18 saimon users 688 Nov 14 13:05 ..
-rw-r--r-- 1 saimon users 619 Oct 20 12:01 404.html
-rw-r--r-- 1 saimon users 684 Oct 20 12:01 500.html
lrwxrwxrwx 1 saimon users 1 Nov 10 16:05 ca -> .
drwxr-xr-x 4 saimon users 328 Nov 14 13:30 en
drwxr-xr-x 4 saimon users 328 Nov 14 13:29 es
drwxr-xr-x 4 saimon users 328 Nov 14 13:30 fr
drwxr-xr-x 4 saimon users 464 Nov 14 13:29 images
-rw-rw-rw- 1 saimon users 1880 Nov 14 13:29 index.html
drwxr-xr-x 5 saimon users 152 Nov 9 22:33 javascripts
drwxr-xr-x 4 saimon users 248 Nov 14 13:29 stylesheets
saimon at iris ~/dev/freelance/myapp.org $ ls -la public/es
total 5
lrwxrwxrwx 1 saimon users 11 Nov 10 16:01 404.html -> ../404.html
lrwxrwxrwx 1 saimon users 11 Nov 10 16:02 500.html -> ../500.html
lrwxrwxrwx 1 saimon users 14 Nov 10 16:06 favicon.ico -> ../favicon.ico
lrwxrwxrwx 1 saimon users 9 Nov 10 16:00 images -> ../images
-rw-rw-rw- 1 saimon users 1873 Nov 14 13:29 index.html
lrwxrwxrwx 1 saimon users 14 Nov 10 16:01 javascripts -> ../javascripts
lrwxrwxrwx 1 saimon users 14 Nov 10 16:01 stylesheets -> ../stylesheets
On 11/14/06, Igor Sysoev <is at rambler-co.ru> wrote:
>
> On Tue, 14 Nov 2006, Saimon Moore wrote:
>
> > Hi, I'm new to nginx and I'm having trouble adapting the nginx config to
> > proxying mongrel correctly.
> >
> > I'm having trouble with the following nginx configuration (
> > http://pastie.caboo.se/22617).
> >
> > I have various vhosts setup but every time I ask for any static file,
> the
> > request is passed on to mongrel even though there is a static file in
> the
> > doc root ( http://pastie.caboo.se/22547).
> >
> > In the first pastie you can see the error.log for the request to
> > http://es.myapp.org when there is an index.html in the docroot.
> >
> > I've been trying different configurations but I always get the same
> problem.
> >
> > I really would appreciate any help with this.
>
> What does
> ls -l /dev/freelance/myapp.org/public/es//index.html
> show ?
>
>
> Igor Sysoev
> http://sysoev.ru/en/
>
>
--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)
Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20061114/8c1d652e/attachment.html>
More information about the nginx
mailing list