[Mongrel] what should be correct .conf file for being served by apache for static content
gethemant at gmail.com
Sat Sep 9 09:14:13 EDT 2006
"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"
To all those folks out there...who are using ProxyPass and ProxyPassReverse
statements for forwarding requests to the proxy....the above tests fails,
and hence....I am not sure, if Apache serves static pages, if you are using
ProxyPass and ProxyPassReverse.
On 9/7/06, Brett Walker <lapomme00 at gmail.com> wrote:
> 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.zedshaw.com/
> > http://mongrel.rubyforge.org/
> > http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
> > _______________________________________________
> > Mongrel-users mailing list
> > Mongrel-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mongrel-users