# Setting config.action\_controller.relative\_url\_root isn't working

**URL:** <https://www.ruby-forum.com/t/setting-config-action-controller-relative-url-root-isnt-working/167313>\
**Category:** Rails\
**Created:** [May 6, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/setting-config-action-controller-relative-url-root-isnt-working/167313 "2009-05-06T17:24:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauricio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/90db22/32.png) [@mauricio](https://www.ruby-forum.com/u/mauricio)\
**Post date:** [May 6, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/setting-config-action-controller-relative-url-root-isnt-working/167313/1 "2009-05-06T17:24:48Z")

</div>

Hi everyone,

I’m trying to set the “config.action\_controller.relative\_url\_root”  
config value but it isn’t working:

config.action\_controller.relative\_url\_root = “/de”

When i try to view the [http://localhost:3000/de](http://localhost:3000/de) page it gives me a  
“Routing Error”, but if I try [http://localhost:3000/](http://localhost:3000/) it works  
perfectly. Any idea about what this might be?

- 

Maurício Linhares  
[http://alinhavado.wordpress.com/](http://alinhavado.wordpress.com/) (pt-br) | [http://blog.codevader.com/](http://blog.codevader.com/)  
(en)
