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
Thom M. 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.
Thom
I forgot. store is my controller. Sorry
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
Alias /bows/ “/Library/Apache2/htdocs/Sites/bows.com/bows/public/”
Alias /bows “/Library/Apache2/htdocs/Sites/bows.com/bows/public/”
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
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