Project

General

Profile

please help with configuration of passenger and httpd

Added by brahim Moullablad about 12 years ago

LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11
PassengerRuby /usr/local/lib/ruby/gems/1.8

<VirtualHost redmine.mywebsite.org:80>
ServerName redmine.mywebsite.org
ServerAdmin
DocumentRoot /var/www/redmine/public/
ErrorLog /var/www/redmine/log/log
RailsEnv production
#RailsBaseURI /var/www/redmine/public
#If you are using mod_fcgid and are going to upload files larger than
#131072 bytes you should consider adding the following line
#that allows to upload files up to 20 mb
MaxRequestLen 20971520
<Directory "/var/www/redmine/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>