Forum: Ruby on Rails Root route not working on Win2003 + Apache 2 + SCGI ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3203ed0e608d3bfae1e31282e629ffa2?d=identicon&s=25 peter.fitzgibbons (Guest)
on 2005-11-23 22:54
(Received via mailing list)
Hello all,

I enabled the routes.rb line :

  map.connect '', :controller => "user", :action => "login"

and my apache server returns :

Routing Error

Recognition failed for "/"


Can someone enlighten me on this ?

My apache config contains :

[...]
Listen 8080

[...]
<VirtualHost *:8080>
    AddDefaultCharset utf-8
    ServerName localhost
    DocumentRoot D:/rails_apps/buildview2/public
    ErrorDocument 500 /500.html
    ErrorDocument 404 /404.html
    # handle all requests throug SCGI
    SCGIMount / 127.0.0.1:9999
    # matches locations with a dot following at least one more
characters, that is, things like   *,html, *.css, *.js, which should
be delivered directly from the filesystem
    <LocationMatch \..+$>
        # don't handle those with SCGI
        SCGIHandler Off
    </LocationMatch>
    <Directory D:/rails_apps/buildview2/public/>
        Options +FollowSymLinks
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

Is there a conflict here ?

Thanks.
This topic is locked and can not be replied to.