Skip to content

Instantly share code, notes, and snippets.

@skarllot
Created May 10, 2012 16:44
Show Gist options
  • Save skarllot/2654395 to your computer and use it in GitHub Desktop.
Save skarllot/2654395 to your computer and use it in GitHub Desktop.
Run Redmine on sub URI
# Redmine sub URI configuration
#
# CentOS: /etc/httpd/conf.d/redmine.conf
# Debian: /etc/apache2/conf.d/redmine.conf
# Gentoo: /etc/apache2/vhosts.d/(?)redmine_vhost.conf
Alias /redmine /var/www/redmine/public
<Location /redmine>
SetEnv RAILS_RELATIVE_URL_ROOT "/redmine"
PassengerAppRoot /var/www/redmine
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment