Last active
May 7, 2018 19:22
-
-
Save ptsakyrellis/4e1f9a377705be05da9b43373fe64f3c to your computer and use it in GitHub Desktop.
Redmine httpd config file example for a named virtual host
This file contains 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
<VirtualHost redmine.domaine.fr> | |
# Name virtual host à adapter | |
ServerName redmine.domaine.fr | |
DocumentRoot /appli/redmineXX/public | |
# Chemin vers mod_passenger | |
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.3.3/gems/passenger-5.1.1/buildout/apache2/mod_passenger.so | |
# Configuration mod_passenger | |
<IfModule mod_passenger.c> | |
PassengerRoot /usr/local/rvm/gems/ruby-2.3.3/gems/passenger-5.1.1 | |
PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.3.3/wrappers/ruby | |
PassengerDefaultUser apache | |
</IfModule> | |
RailsEnv production | |
RailsBaseURI /redmine | |
# Configuration du dossier ou redmine a ete installe | |
<Directory /appli/redmineXX/public> | |
Options Indexes ExecCGI FollowSymLinks | |
AllowOverride All | |
Options -MultiViews | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment