Created
March 10, 2015 07:09
-
-
Save hacker65536/47797563e2c83c6d5a23 to your computer and use it in GitHub Desktop.
redmine passenger apache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule passenger_module /usr/local/share/ruby/gems/2.0/gems/passenger-5.0.2/buildout/apache2/mod_passenger.so | |
<IfModule mod_passenger.c> | |
PassengerRoot /usr/local/share/ruby/gems/2.0/gems/passenger-5.0.2 | |
PassengerDefaultRuby /usr/bin/ruby2.0 | |
</IfModule> | |
<VirtualHost _default_:80> | |
ServerName redmine.mydomain.com | |
# !!! Be sure to point DocumentRoot to 'public'! | |
DocumentRoot /var/www/redmine/public | |
RailsEnv production | |
RailsBaseURI / | |
<Directory /var/www/redmine/public> | |
# This relaxes Apache security settings. | |
AllowOverride all | |
# MultiViews must be turned off. | |
Options -MultiViews | |
# Uncomment this if you're on Apache >= 2.4: | |
#Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment