# Mongrel 404s pages seen by WEBrick -- config?!

**URL:** <https://www.ruby-forum.com/t/mongrel-404s-pages-seen-by-webrick-config/118259>\
**Category:** Rails\
**Created:** [October 25, 2007, 7:07am UTC](https://www.ruby-forum.com/t/mongrel-404s-pages-seen-by-webrick-config/118259 "2007-10-25T07:07:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/c4cdca/32.png) [@olie](https://www.ruby-forum.com/u/olie)\
**Post date:** [October 25, 2007, 7:07am UTC](https://www.ruby-forum.com/t/mongrel-404s-pages-seen-by-webrick-config/118259/1 "2007-10-25T07:07:54Z")

</div>

I’ve got my great new rails app (thanks to everyone for all the help!)  
and it’s working great on WEBRick locally.

When I upload it to my production server and run under mongrel, I get  
things like:

- css page doesn’t load.
- Many of the controller/action pages go 404
- etc.

In short, about half the pages are “missing” (except that the files are  
all there – just Mongrel can’t find them.) Thing is, it finds, for  
example, my home/welcome page, although it doesn’t seem to recognize my  
environment setting that routes ‘’ to that page – so  
[http://my.domain.com](http://my.domain.com) ends up with the “Welcome to Rails!” page.

When I run it under WEBrick on the production server, everything’s back  
to normal – like on my dev machine.

So I’m guessing I’ve fouled-up my mongrel setup, somehow. Thing is, the  
mongrel config is pretty darned lightweight, and I can’t see what I’ve  
done wrong.

## ascb/config/mongrel\_cluster.yml:

user: www-data  
group: www-data  
cwd: /home/olie/www/ascb  
log\_file: log/ascb.log  
port: “8100”  
environment: dev\_germ  
address: 127.0.0.1  
pid\_file: tmp/pids/mongrel.pid  
servers: 1

I did  
$ sudo chmod -R olie:www-data .  
at the top level (~/ascb), and all the permissions are lax…

Any ideas?

Thanks!
