Ruby on Rails Wednesday, August 29, 2012

On Aug 29, 2012, at 10:33 AM, Mandeep Kaur wrote:

> On Wed, Aug 29, 2012 at 7:49 PM, Walter Lee Davis <waltd@wdstudio.com> wrote:
>>
>> On Aug 27, 2012, at 1:54 AM, uma mahesh varma Seeram wrote:
>>
> <snip>
>>
>> Also, check if Apache or Nginx is set to provide a default index in folders that don't contain one. mod_autoindex or similar...
>
> I am not getting this. Means i have to remove this apache setting that
> automatically create default index page?
>

If you're using Apache and Passenger, try adding this line inside the <Directory> block in the relevant httpd.conf for this application:

Options -Indexes

Restart Apache and see if that fixed it for you. It really only will if Options +Indexes is set at a higher level in your general Apache configuration file tree. I'm just guessing here, hope it helps.

Walter

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment