[Mongrel] what should be correct .conf file for being served by apache for static content
lapomme00 at gmail.com
Thu Sep 7 09:21:36 EDT 2006
Well, I was getting a '(13)Permission denied: ', but the permissions
on my rails directory were fine. It was one of the parent directories
that were wrong, and it took me awhile to figure that out. Maybe I'm
just too much of a newbie.
On 9/7/06, Zed Shaw <zedshaw at zedshaw.com> wrote:
> On Thu, 2006-09-07 at 20:37 +0800, Brett Walker wrote:
> > Hemant,
> > I went through this same issue a couple of days ago. I had it
> > configured just like you do, and thought Apache was serving the static
> > files. Took me half a day to figure out the problem.
> > My problem ended up being the permissions on the base directory. Was
> > serving my app from a subdir in my home directory, and it didn't have
> > the correct permission for the apache process to read it. I did a
> > chmod 755 /home/myuser
> > and suddenly Apache could server the static files.
> > Also, if you stop Mongrel, then try to serve one of your static files,
> > you can tell for sure whether Apache is serving it or not.
> Hmmm, I might add that to the FAQ. Weird that apache wouldn't consider
> that an error.
> Zed A. Shaw
> http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users