Perl/Python/Ruby in your account
March 12, 2010 in Home by Aleksey Mykhailov
Now you have the opportunity to use full Perl/Python/Ruby in your account!
You can run it in httpdocs too, just create .htaccess file and put in:
AddHandler cgi-script .cgi .pl .py .rb
or in cgi-bin dir (right click on your filetree and ‘Toggle System files’ )
After you do that, you will be able to create scripts with these sha-bangs
for perl:
#!/usr/bin/perl
for ruby:
#!/usr/bin/ruby
for python
#!/usr/bin/python
Don’t forget to set execute permissions on your script
Happy coding!
—
Aleksey Mykhailov
SysAdmin
Great news!
Does Rails still work? If so, could you share a little bit more info on how it is set up? Because I really want to get Sinatra running..
Unfortunately , no
we are working on it… It doesn’t work with fcgi dispatcher for some reason.
and about cgi .. I am still on it… but you can try and let me know! Thx!