# Routing Error - Recognition failed for

**URL:** <https://www.ruby-forum.com/t/routing-error-recognition-failed-for/63584>\
**Category:** Rails\
**Created:** [June 16, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/routing-error-recognition-failed-for/63584 "2006-06-16T12:50:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@michael](https://www.ruby-forum.com/u/michael)\
**Post date:** [June 16, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/routing-error-recognition-failed-for/63584/1 "2006-06-16T12:50:12Z")

</div>

I followed the guide for RailsOnWindows  
([http://wiki.rubyonrails.org/rails/pages/RailsOnWindows](http://wiki.rubyonrails.org/rails/pages/RailsOnWindows)) and completed  
all the steps without any problems. But when I try to access my page, I  
get:

Routing Error

Recognition failed for “/rails”

rails is what I have in my httpd.conf:

\<VirtualHost \*:80\>  
ServerName rails

DocumentRoot “D:/devapps/Apache Group/Apache2/htdocs/hello/public”  
\<Directory “D:/devapps/Apache Group/Apache2/htdocs/hello/public”\>  
Options ExecCGI FollowSymLinks  
AllowOverride all  
Allow from all  
Order allow,deny  
AddHandler cgi-script .cgi  
AddHandler fastcgi-script .fcgi

I must be missing something but I don’t see it. I’ve read over all the  
steps several times. I’ve searched quite a bit with google but I do not  
find any solutions for this problem. Thanks in advance for any help!

-Michael

---

<div class="post-metadata">

**Author:** ![michael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@michael](https://www.ruby-forum.com/u/michael)\
**Post date:** [June 16, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/routing-error-recognition-failed-for/63584/2 "2006-06-16T16:29:18Z")

</div>

michael wrote:

> I followed the guide for RailsOnWindows  
> ([http://wiki.rubyonrails.org/rails/pages/RailsOnWindows](http://wiki.rubyonrails.org/rails/pages/RailsOnWindows)) and completed  
> all the steps without any problems. But when I try to access my page, I  
> get:

> Routing Error
> 
> Recognition failed for “/rails”

Are you trying to access “[http://localhost/rails](http://localhost/rails)” ? That apache config  
doesn’t do that. It creates a server called ‘rails’ and sets up Rails  
to be at the root of that server.

You should just be able to use [http://localhost/](http://localhost/)

Alan

---

<div class="post-metadata">

**Author:** ![michael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@michael](https://www.ruby-forum.com/u/michael)\
**Post date:** [June 16, 2006, 4:43pm UTC](https://www.ruby-forum.com/t/routing-error-recognition-failed-for/63584/3 "2006-06-16T16:43:56Z")

</div>

Hi,

How you are accessing that page ?  
What is the URL, you have given in your address bar ?

---

<div class="post-metadata">

**Author:** ![michael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@michael](https://www.ruby-forum.com/u/michael)\
**Post date:** [June 16, 2006, 4:32pm UTC](https://www.ruby-forum.com/t/routing-error-recognition-failed-for/63584/4 "2006-06-16T16:32:57Z")

</div>

Alan F. wrote:

> Are you trying to access “[http://localhost/rails](http://localhost/rails)” ? That apache config

Let me rephrase that. What are you typing in the browser ?

Alan
