Virtualhost setup for Ruby on Rails application (mod passenger)
438
Point DocumentRoot at your Redmine public directory, and RailsBaseURI to point at /.
Here's an example from my working Ubuntu server:
<VirtualHost *:80>
ServerName redmine.int.example.com
ServerAlias redmine
DocumentRoot /var/www/redmine/public
RailsBaseURI /
RailsEnv production
PassengerMaxPoolSize 4
<Directory /var/www/redmine/public>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
LogLevel info
ErrorLog /var/log/apache2/redmine-error.log
CustomLog /var/log/apache2/redmine-access.log combined
</VirtualHost>
Author by
Betamakz
Updated on September 17, 2022Comments
-
Betamakz over 1 year
I have made the app in the larger resolution for iPhone4, and when I test it in 3GS it works/looks fine, the app scales DOWN accordingly. But when I test app on iPhone 4 it appears for reason to scale it down and then back up again creating a pixelated look. This applies to vector assets and text within the flash project as well which is even weirder in my opinion. My SWF is 640x920px.
-
madmik3 over 13 yearshow are you running flash on an iPhone?
-
-
Ingo86 over 14 yearsYes, it's not working. Internal server errror.
-
Maxwell over 14 yearsCould you tell what's the error report in your error.log?
-
Ingo86 over 14 yearsI have other directory here: ip_addr/redmine ip_addr/docs With your suggestion how can I access my docs directory?
-
jtimberman over 14 yearsredmine.int.example.com/projects/myproject/documents accesses the documents directory of the 'myproject' project.
-
Ingo86 over 14 yearsHow can i access my other directories with your setup? for example http :// lan_ip_add/ other_dir
-
jtimberman over 14 yearsIs 'other_dir' another web application? You'd need to set up virtualhosts for them, or specify them with <Directory> directives.
-
danny over 13 yearsHi, I have a wiki (php mediawiki base url /wiki ), and a django app (base url /) in the same virtual host, now we'd like to add redmine at /bugs - using passenger. Is it possible to set all of that up in the same virtualhost?
-
jtimberman over 13 yearsEvgeny you should probably ask that as a new question :)
-
Betamakz over 13 yearsVery useful information. I've been googling but cannot find any ETA in terms of when Adobe would launch an updated packager. Has anybody found/seen/heard any indication?