I have a CGI I wrote in Python (to use ChartDirector) and I have it in public/graph.cgi, when I try and get to it using Webrick, i.e. http://localhost:3000/graph.cgi I get a routing error: Routing Error No route for path: "graph.cgi" I can get to other resources fine under public directly (i.e. http://localhost:3000/stylesheets/style.css etc.), is there anything I need to do to get this to work? Thanks
Sorry lame question: is exectuable bit set on graph.cgi? On 6/30/05, Sean Leach <kickdaddy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have a CGI I wrote in Python (to use ChartDirector) and I have it in > public/graph.cgi, > > when I try and get to it using Webrick, i.e. > > http://localhost:3000/graph.cgi > > I get a routing error: > > Routing Error > No route for path: "graph.cgi" > > I can get to other resources fine under public directly (i.e. > http://localhost:3000/stylesheets/style.css etc.), is there anything I > need to do to get this to work? > > Thanks > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- http://deezsombor.blogspot.com
Not a lame question at all, but yes, the executable bit it set. On 6/30/05, Dee Zsombor <dee.zsombor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry lame question: is exectuable bit set on graph.cgi? > > On 6/30/05, Sean Leach <kickdaddy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I have a CGI I wrote in Python (to use ChartDirector) and I have it in > > public/graph.cgi, > > > > when I try and get to it using Webrick, i.e. > > > > http://localhost:3000/graph.cgi > > > > I get a routing error: > > > > Routing Error > > No route for path: "graph.cgi" > > > > I can get to other resources fine under public directly (i.e. > > http://localhost:3000/stylesheets/style.css etc.), is there anything I > > need to do to get this to work? > > > > Thanks > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > http://deezsombor.blogspot.com >