Hi Just wondering I installed rails but cant seem to get any CGI scripts
running i created a directory in the railsproject/public directory
called cgi-bin which I gave Options +ExecCGI. Furthermore, I cant get
any .rhtml files to parse embedded ruby. I find ruby on rails extremely
complicated, this is my first experience with configuring apache and
ruby on rails and I am getting very frustrated. I am running apache2 on
ubuntu 7.10 I set up the virtual directory and am greeted with the
riding on rails screen (however if i click about your applications
environment i get an error). I am wondering if I should even be using
rails as i programmed with ruby before using DBI modules for database
connectivity and never had any problems. Mainly what I want to do is get
embedded ruby working. I had this working before with eruby and the
mod_ruby module but i switched to mod_rails and now everything has gone
to crap. Any help is GREATLY appreciated, please bear in mind I am
primarily a windows software programmer and am very new to ubuntu,
apache and rails.

I placed this file in the available-sites directory called gridtest

<code>
<VirtualHost 127.0.1.1:4268>
    ServerName  gridtest.com
    ServerAlias www.gridtest.com
    DocumentRoot /var/www/htdocs/railstest/public
    <Directory "/var/www/htdocs/railstest/public/cgi-bin/">
       AllowOverride None
       Options +ExecCGI
       Order allow,deny
       Allow from all
    </Directory>
  </VirtualHost>
</code>

Thanks,

Adam
-- 
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to