Perl/Python/Ruby in your account

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