I am configuring my RoR on a tiger box with Apache. If I go to my alias in apache2 which is url.com/bows I get the RoR canned start page. If I go into the images folder via the url I can display a photo in the img folder so I know I am in the right directory (url.com/bows/images/header.png) and it works. but when I go to bows/store then I get a url found. I copied my app from a working machine so I know it is something simple but I can''t figure it out. Thanks in Advance. Thom -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thom Morrow wrote:> I am configuring my RoR on a tiger box with Apache. If I go to my alias > in apache2 which is url.com/bows I get the RoR canned start page. If I > go into the images folder via the url I can display a photo in the img > folder so I know I am in the right directory > (url.com/bows/images/header.png) and it works. but when I go to > bows/store then I get a url found. I copied my app from a working > machine so I know it is something simple but I can''t figure it out. > > > > Thanks in Advance. > ThomI forgot. store is my controller. Sorry -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Here is my httpd.conf <VirtualHost *:3000> DocumentRoot "/Library/Apache2/htdocs/Sites/bows.com/bows/public/" ServerName www.blossomingbows.com ServerAlias blossomingbows.com <Directory "/Library/Apache2/htdocs/Sites/bows.com/bows/public/"> Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi Allow from all Order allow,deny </Directory> </VirtualHost> Alias /bows/ "/Library/Apache2/htdocs/Sites/bows.com/bows/public/" Alias /bows "/Library/Apache2/htdocs/Sites/bows.com/bows/public/" <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcpi_ipc/ FastCgiServer /Library/Apache2/htdocs/Sites/bows.com/bows/public/dispatch.fcgi \ -initial-env RAILS_ENV=development \ -processes 15 -idle-timeout 60 AddHandler fastcgi-script .fcgi </IfModule> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Since I haven''t got any bytes yet on this I would like to add that when I run a webbrick from that directory it works fine. So Apache/Ruby/whatever does not know how to serve the page correctly. Hope this rings a bell with someone. Thanks again Thom -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---