We have a Solaris server, usaully used for PHP, with Apache. The sys admin has installed MRI + Passenger (he has not be able to install Ruby Enterprise). I have a config file where I can configure virtual hosts to run multiple Rails apps as <a href="http://rails.example.com/app_name">rails.example.com/app_name</a>.<br>
<br>From the documentation I saw that I can use RailsBaseURI <app_dir>. The file is the following:<br><br><VirtualHost <a href="http://rails.wolseley.com:80">rails.wolseley.com:80</a>><br> ServerName <a href="http://rails.exemaple.com">rails.exemaple.com</a><br>
DocumentRoot /sites/rails<br> RailsBaseURI /tree<br> ErrorLog "|/usr/local/sbin/cronolog /www/apachelogs/%Y/%m/%d-rails-error_log --link=/www/apachelogs/rails-error.log"<br> CustomLog "|/usr/local/sbin/cronolog /www/apachelogs/%Y/%m/%d-rails-access_log --link=/www/apachelogs/rails-access.log" combined env=!BOTLOG<br>
</VirtualHost><br><br>The sys admin has edded ErrorLog, CustomLog. All I can have is the well know message 'We are sorry but something went wrong'. I DB is micrate to production, MySql is inthe same server and the username and password are ok. The web application has only one table with scaffolding. <br>
<br>If that configuration ok? The web application is in /sites/rails-data and in /sites/rails I have a symlink to /sites/rails-data/my_app/public. I was able to run the application, but know I cannot. <br><br>If you add that I should only ask think to the sys admin using ticket from the help desk, you can immagine the frustration.<br>
<br>Thanks for any help,<br>-- <br>Riccardo Tacconi<br>VIRTUELOGIC LIMITED<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>