Lines 10-15
print 'ProxyPass /umcp/ http://%s:%s/ retry=0' % (interface, port)
|
Link Here
|
---|
|
10 |
print 'ProxyPassReverse /umcp/ http://%s:%s/' % (interface, port) |
10 |
print 'ProxyPassReverse /umcp/ http://%s:%s/' % (interface, port) |
11 |
print 'ProxyTimeout %s' % int(configRegistry.get('umc/http/session/timeout', '300')) |
11 |
print 'ProxyTimeout %s' % int(configRegistry.get('umc/http/session/timeout', '300')) |
12 |
@!@ |
12 |
@!@ |
|
|
13 |
<LocationMatch "^/(umcp|umc|univention-management-console)"> |
13 |
RequestHeader set X-Forwarded-Proto %{HTTPS}s |
14 |
RequestHeader set X-Forwarded-Proto %{HTTPS}s |
14 |
|
15 |
|
15 |
RedirectMatch ^/umc(/$|$) /univention-management-console/ |
16 |
RedirectMatch ^/umc(/$|$) /univention-management-console/ |
Lines 39-44
RewriteRule ^(/univention-management-console/js)_[^/]*/(.*) $1/$2 [R=301]
|
Link Here
|
---|
|
39 |
# fix for bug in cherrypy returnin 408/409 errors out of the blue: |
40 |
# fix for bug in cherrypy returnin 408/409 errors out of the blue: |
40 |
# http://cherrypy.org/ticket/853 |
41 |
# http://cherrypy.org/ticket/853 |
41 |
SetEnv proxy-nokeepalive 1 |
42 |
SetEnv proxy-nokeepalive 1 |
|
|
43 |
</LocationMatch> |
42 |
|
44 |
|
43 |
<Directory /var/www/univention-management-console> |
45 |
<Directory /var/www/univention-management-console> |
44 |
</Directory> |
46 |
</Directory> |