Project

General

Profile

RE: How to configure Redmine 2.5.1 to run as sub-URI » redmine.conf

Alessandro Guerra, 2014-07-07 09:41

 
1
<VirtualHost *>
2
  ServerName mydomain.int
3
  DocumentRoot /var/www/html/
4
  RailsEnv production
5
  RailsBaseURI /redmine
6
  PassengerDefaultUser apache
7
<Directory "/var/www/html/redmine/public/">
8
  Options Indexes ExecCGI FollowSymLinks
9
  Order allow,deny
10
  Allow from all
11
  AllowOverride all
12
</Directory>
13
<Proxy *>
14
  Order deny,allow
15
  Allow from all
16
</Proxy>
17
  ProxyRequests Off
18
  ProxyPass /redmine/ http://mydomain.int/
19
</VirtualHost>
20

    
21
#<Location /redmine>
22
#		RailsEnv production
23
#		RackBaseURI /redmine
24
#		Options -MultiViews
25
#       	ServerName mydomain
26
#       	ServerAdmin your_domain@domain.com
27
#        	DocumentRoot /var/www/html/redmine/public/
28
#       	 	ErrorLog logs/redmine_error_log
29
#        	<Directory "/var/www/html/redmine/public/">
30
#                	Options Indexes ExecCGI FollowSymLinks
31
#                	Order allow,deny
32
#                	Allow from all
33
#               	 	AllowOverride all
34
#        	</Directory>
35
#</Location>
(4-4/4)