Hi, I''m have Apache setting problem. I use http://wiki.rubyonrails.com/rails/show/Tutorial for setting. After apache configuration, When I access to localhost, I can see Welcome page. (http://localhost/_doc/index.html) But I can''t access any controller. (ex: localhost/mycontroller) Not Found The requested URL /mycontroller was not found on this server I suppose dispatcher doesn''t works. Thanks for any advance
What''s your apache config look like? What do your error logs look like? Did you create the controller yet? On Fri, 04 Feb 2005 19:11:59 -0800, frannyzooey-ee4meeAH724@public.gmane.org <frannyzooey-ee4meeAH724@public.gmane.org> wrote:> Hi, > > I''m have Apache setting problem. > I use http://wiki.rubyonrails.com/rails/show/Tutorial for setting. > > After apache configuration, > > When I access to localhost, I can see Welcome page. (http://localhost/_doc/index.html) > But I can''t access any controller. (ex: localhost/mycontroller) > > Not Found > The requested URL /mycontroller was not found on this server > > I suppose dispatcher doesn''t works. > Thanks for any advance > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Thanks Dyk, here is my apache configuarions, <VirtualHost *:80> ServerName rails DocumentRoot /Users/rubyminer/TheBlues/public/ ErrorLog /Users/rubyminer/TheBlues/log/apache.log <Directory //Users/rubyminer/TheBlues/public/> Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi AllowOverride all Order allow,deny Allow from all Order allow,deny Allow from all </Directory> </VirtualHost> and apache.log is Sat Feb 5 12:06:47 2005] [error] [client 127.0.0.1] File does not exist: /Users/rubyminer/TheBlues/public/mycontroller and there other log files isn''t added. (So I suppose dispatching error) Surely, mycontroller is not actually exist. But even un-exist controller, ''file not found'' error message isn''t correct. (INomrlay, nil:Class error message) And I also tested many other contoller which I have developed using WEBrick. Thanks for any advance. On Friday, February 04, 2005, at 10:08PM, Joe Van Dyk <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:>What''s your apache config look like? What do your error logs look >like? Did you create the controller yet? > > >On Fri, 04 Feb 2005 19:11:59 -0800, frannyzooey-ee4meeAH724@public.gmane.org ><frannyzooey-ee4meeAH724@public.gmane.org> wrote: >> Hi, >> >> I''m have Apache setting problem. >> I use http://wiki.rubyonrails.com/rails/show/Tutorial for setting. >> >> After apache configuration, >> >> When I access to localhost, I can see Welcome page. (http://localhost/_doc/index.html) >> But I can''t access any controller. (ex: localhost/mycontroller) >> >> Not Found >> The requested URL /mycontroller was not found on this server >> >> I suppose dispatcher doesn''t works. >> Thanks for any advance >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > >
* frannyzooey-ee4meeAH724@public.gmane.org <frannyzooey-ee4meeAH724@public.gmane.org> [0210 09:10]:> Thanks Dyk, > > here is my apache configuarions, > > <VirtualHost *:80> > ServerName rails > DocumentRoot /Users/rubyminer/TheBlues/public/ > ErrorLog /Users/rubyminer/TheBlues/log/apache.log > > <Directory //Users/rubyminer/TheBlues/public/> > Options ExecCGI FollowSymLinks > AddHandler cgi-script .cgi > AllowOverride all > Order allow,deny > Allow from all > Order allow,deny > Allow from all > </Directory> > </VirtualHost> > > and apache.log is > > Sat Feb 5 12:06:47 2005] [error] [client 127.0.0.1] File does not exist: /Users/rubyminer/TheBlues/public/mycontroller > > and there other log files isn''t added. (So I suppose dispatching error)It looks like mod_rewrite isn''t working (sorry if someones already replied). -- ''The heroes claimed that they did care about people getting shot, so they crashed their cars into them instead.'' -- DNA, on ''Starsky and Hutch'' Rasputin :: Jack of All Trades - Master of Nuns