You can install on your site custom Web applications developed in the Ruby programming language.
To install on your site an application written in Ruby:
/httpdocs
directory, and create a subdirectory where the application files will reside. Let's call this directory your_application
, for illustration purposes.httpdocs/your_application
directory..htaccess
in this directory, open it with a text editor of your choice and add the following lines into the file:RewriteEngine On RewriteRule ^$ /public/index.html [L] RewriteCond %{REQUEST_URI} !^/your_application/public
RewriteRule ^(.*)$ /public/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ public/dispatch.fcgi/$1 [QSA,L]
your_application/public/.htaccess
your_application/public/dispatch.fcgi
with a text editor and put the following lines there: #!/usr/bin/ruby
Now the web application will be accessible at the following URL: http://your-domain.com/your_application.