Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
directory index of "/sites/mysite.com/public/" is forbidden <=== error is driving me nuts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mrmanishs  
View profile  
 More options May 21 2009, 1:23 pm
From: mrmanishs <mrmani...@gmail.com>
Date: Thu, 21 May 2009 10:23:39 -0700 (PDT)
Local: Thurs, May 21 2009 1:23 pm
Subject: directory index of "/sites/mysite.com/public/" is forbidden <=== error is driving me nuts
So, I'm getting the error in the subject:

directory index of "/sites/mysite.com/public/" is forbidden using
nginx/passenger. I've looked around, and followed some of the advice,
including changing permissions to 755, but still getting this error.
Does anyone have any idea? This is my server config in nginx:

 server {
        listen       80;
        server_name  www.mysite.com;
        root /sites/mysite.com/public;
        passenger_enabled on;
        access_log  logs/mysite.access.log  main;

        # Main location
        location / {

            proxy_set_header   Host             $host;
            proxy_set_header   X-Real-IP        $remote_addr;
            proxy_set_header   X-Forwarded-For
$proxy_add_x_forwarded_for;

            client_max_body_size       10m;
            client_body_buffer_size    128k;

            proxy_connect_timeout      14400;
            proxy_send_timeout         14400;
            proxy_read_timeout         14400;

            proxy_buffer_size          4k;
            proxy_buffers              4 32k;
            proxy_busy_buffers_size    64k;
            proxy_temp_file_write_size 64k;
        }

    }


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lardawge  
View profile  
 More options May 22 2009, 5:59 pm
From: lardawge <larda...@gmail.com>
Date: Fri, 22 May 2009 14:59:43 -0700 (PDT)
Local: Fri, May 22 2009 5:59 pm
Subject: Re: directory index of "/sites/mysite.com/public/" is forbidden <=== error is driving me nuts
 Take out the location block... None of that stuff needs to be in one
anyway.

On May 21, 1:23 pm, mrmanishs <mrmani...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
richard  
View profile  
 More options Jul 5 2009, 7:55 pm
From: richard <ran1347...@gmail.com>
Date: Sun, 5 Jul 2009 16:55:51 -0700 (PDT)
Local: Sun, Jul 5 2009 7:55 pm
Subject: Re: directory index of "/sites/mysite.com/public/" is forbidden <=== error is driving me nuts
Thank You!

Not sure why just commenting out the internals of the location block
wouldn't work - had to comment out opening and closing of the location
block.

On May 22, 2:59 pm, lardawge <larda...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Jul 6 2009, 4:03 am
From: Hongli Lai <hon...@phusion.nl>
Date: Mon, 6 Jul 2009 10:03:51 +0200
Local: Mon, Jul 6 2009 4:03 am
Subject: Re: [phusion-passenger] Re: directory index of "/sites/mysite.com/public/" is forbidden <=== error is driving me nuts

On Mon, Jul 6, 2009 at 1:55 AM, richard<ran1347...@gmail.com> wrote:

> Thank You!

> Not sure why just commenting out the internals of the location block
> wouldn't work - had to comment out opening and closing of the location
> block.

If you specify a location block then you must re-specify
"passenger_enabled on" inside it.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »