[Mongrel] what should be correct .conf file for being served by apache for static content

Zed Shaw zedshaw at zedshaw.com
Thu Sep 7 09:00:08 EDT 2006

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.

More information about the Mongrel-users mailing list