My web app could not be started. » apache2-passenger-host.conf
| 1 |
# These modules must be enabled : passenger
|
|---|---|
| 2 |
# Configuration for multiple vhosts http://localhost:3000/ and http://localhost:3030/
|
| 3 |
# listen the port...
|
| 4 |
Listen 80 |
| 5 |
<VirtualHost localhost:80> |
| 6 |
# ServerName my.domain.name
|
| 7 |
# this is the passenger config
|
| 8 |
RailsEnv production |
| 9 |
# create a link in /var/lib/redmine/default/passenger to /usr/share/redmine
|
| 10 |
PassengerAppRoot /var/lib/redmine/default/passenger |
| 11 |
SetEnv X_DEBIAN_SITEID "default" |
| 12 |
Alias "/plugin_assets/" /var/cache/redmine/default/plugin_assets/ |
| 13 |
DocumentRoot /usr/share/redmine/public |
| 14 |
<Directory "/usr/share/redmine/public"> |
| 15 |
Order allow,deny |
| 16 |
Allow from all |
| 17 |
</Directory>
|
| 18 |
</VirtualHost>
|
| 19 |
|