Results 1 to 11 of 11
Dec 10, 2005, 09:55 #1
- Join Date
- Jul 2003
- Newcastle upon Tyne
- 0 Post(s)
- 0 Thread(s)
Hello world in apache 2.0 + WinXP
I've decided to have a quick go of Ruby, try it out - etc. Most of the tutorials about setting up seem to be very unix/linux orientated and I've not found many straight-forward Windows systems.
The closest I've found is on this site:
I've done everything it says, but I'm confused at the bottom, it says that:
Configure your Rails app
Go to the public folder in your Rails application and open .htaccess
Look for the rewrite rule:
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
and change it to:
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
I don't want to over-write my apache settings or re-direct document root or serverroot, but I did add a virtual host like it says; plus I created a folder in my htdocs folders called "ruby"
The "ruby" folder on my htdocs is where I want all my ruby web work to go. I placed a "helloworld.rb" in there and went to localhost/ruby/helloworld.rb but all it does is display the code.
The helloworld.rb file contains;
puts 'hello world'