Lines 45-50
RewriteCond %{DOCUMENT_ROOT}/%1 !-d
|
Link Here
|
---|
|
45 |
RewriteCond %{REQUEST_METHOD} ^GET |
45 |
RewriteCond %{REQUEST_METHOD} ^GET |
46 |
RewriteRule ^(/univention-management-console/js)_[^/]*/(.*) $1/$2 [R=301] |
46 |
RewriteRule ^(/univention-management-console/js)_[^/]*/(.*) $1/$2 [R=301] |
47 |
|
47 |
|
|
|
48 |
# avoid 404 Not Found errors for not existing translation files |
49 |
RewriteCond %{REQUEST_URI} ^/univention-management-console/js[^/]*/umc/modules/i18n/(en|de)/.*\.json |
50 |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f |
51 |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d |
52 |
RewriteRule .* /univention-management-console/js/umc/modules/i18n/empty.json [P,L,T=application/json] |
53 |
|
48 |
<LocationMatch "^/univention-management-console/(set|get|logout|saml|auth|upload|command).*"> |
54 |
<LocationMatch "^/univention-management-console/(set|get|logout|saml|auth|upload|command).*"> |
49 |
RequestHeader set X-UMC-HTTPS %{HTTPS}s |
55 |
RequestHeader set X-UMC-HTTPS %{HTTPS}s |
50 |
ErrorDocument 503 "{\"status\": 503, \"message\": \"The Univention Management Console Web Server could not be reached. Please restart it or try again later.\"}" |
56 |
ErrorDocument 503 "{\"status\": 503, \"message\": \"The Univention Management Console Web Server could not be reached. Please restart it or try again later.\"}" |