View Full Version : Ruby & apache
Hi, does anyone knows what do I have to configure in order to enable apache to serve .rb files
I think that it is an apache handler and that it can be done via CPanel. :confused:
macgyver2
02-22-2006, 09:16 AM
You don't need to add a handler to get it to work (you're going for a simple CGI-script, right?). Just make certain the ruby script has '#!/usr/bin/env ruby' as the first line.
I have the first line with that code, but if i try to access it via apache, something like www.mysite.com/sciptlocation/scipt.rb all the code is show on the browser, like if it is not interpreting it...
IUDICIUM
02-23-2006, 09:01 AM
Not sure, but have you read:
http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=232
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.