| View previous topic :: View next topic |
| Author |
Message |
2jray
Joined: 05 Jan 2006 Posts: 3 Location: Northam, Western Asutralia
|
Posted: Sun 30 Jul '06 18:00 Post subject: Ruby on Rails |
|
|
While I've been using PHP with Sambar very successfully for many years, I've recently been bombarded with info about Ruby on Rails. Would it be simple enough to run Ruby on the Sambar server?
Any tips much appreciated |
|
| Back to top |
|
Steffen
Joined: 07 Jun 2004 Posts: 403 Location: Netherlands
|
Posted: Sun 30 Jul '06 20:55 Post subject: |
|
|
A Rails web application can run under virtually any web server, but the most convenient way to develop a Rails web application is to use the built-in WEBrick web server.
So you can try to run it as CGI under sambar, but that seems not so fast.
Also you can Sambar's Revrse proxy against WEBtrick. |
|
| Back to top |
|
2jray
Joined: 05 Jan 2006 Posts: 3 Location: Northam, Western Asutralia
|
Posted: Sun 06 Aug '06 6:48 Post subject: |
|
|
| Would that mean I would have to set up the WEBrick server for the other domains I host as well? |
|
| Back to top |
|
Steffen
Joined: 07 Jun 2004 Posts: 403 Location: Netherlands
|
Posted: Mon 07 Aug '06 16:30 Post subject: |
|
|
As test I installed Ruby on Rails and tried to run the example application under sambar.
No go because Rails uses some redirection that takes place in a .htaccess file located in the public folder and that kind of redirection is not possible with sambar, because (again) Sambar lacks Apache's mod_rewrite features. So on Apache it was running wright away.
Maybe there is a trick to run it under sambar, when I have time I shall investigate.
Steffen |
|
| Back to top |
|