# Mongrel dev server and custom subdirectories within ./public

**URL:** <https://www.ruby-forum.com/t/mongrel-dev-server-and-custom-subdirectories-within-public/103298>\
**Category:** Rails\
**Created:** [May 3, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/mongrel-dev-server-and-custom-subdirectories-within-public/103298 "2007-05-03T23:23:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@Joel\_O](https://www.ruby-forum.com/u/Joel_O)\
**Post date:** [May 3, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/mongrel-dev-server-and-custom-subdirectories-within-public/103298/1 "2007-05-03T23:23:11Z")

</div>

Everyone -

I’m trying to add some theme support for my application and started  
creating a logical directory structure under public -

/public/themes/custom/my\_theme\_name/_.css  
/public/themes/custom/my\_theme\_name/images/_

etc etc. Looks good on paper.

But when I run a development mongrel server to test things out, it  
tries to run my included css stylesheets through the routing engine.  
Is there any way I can set mongrel up in a way where it won’t do that?  
Has anyone had this happen to them before?

Example:

* * *

## Routing Error Recognition failed for “/stylesheets/themes/c/green/styles.css”

Thanks!

- J

---

<div class="post-metadata">

**Author:** ![Joel\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@Joel\_O](https://www.ruby-forum.com/u/Joel_O)\
**Post date:** [May 4, 2007, 4:25am UTC](https://www.ruby-forum.com/t/mongrel-dev-server-and-custom-subdirectories-within-public/103298/2 "2007-05-04T04:25:32Z")

</div>

Guys - I’m a knucklehead. I had the path set completely wrong. Please  
disregard my question :-/

Let this be a warning - don’t drink (too much caffeine) and code!

- J
