Univention Bugzilla – Attachment 7376 Details for
Bug 40242
UDM: error messages in web server log about missing translation files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
40242.patch (text/plain), 2.41 KB, created by
Florian Best
on 2015-12-15 17:26:18 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-12-15 17:26:18 CET
Size:
2.41 KB
patch
obsolete
>diff --git a/management/univention-management-console-frontend/conffiles/etc/apache2/sites-available/univention-management-console b/management/univention-management-console-frontend/conffiles/etc/apache2/sites-available/univention-management-console >index 89cd80e..5e47fd4 100644 >--- a/management/univention-management-console-frontend/conffiles/etc/apache2/sites-available/univention-management-console >+++ b/management/univention-management-console-frontend/conffiles/etc/apache2/sites-available/univention-management-console >@@ -45,6 +45,12 @@ RewriteCond %{DOCUMENT_ROOT}/%1 !-d > RewriteCond %{REQUEST_METHOD} ^GET > RewriteRule ^(/univention-management-console/js)_[^/]*/(.*) $1/$2 [R=301] > >+# avoid 404 Not Found errors for not existing translation files >+RewriteCond %{REQUEST_URI} ^/univention-management-console/js[^/]*/umc/modules/i18n/(en|de)/.*\.json >+RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f >+RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d >+RewriteRule .* /univention-management-console/js/umc/modules/i18n/empty.json [P,L,T=application/json] >+ > <LocationMatch "^/univention-management-console/(set|get|logout|saml|auth|upload|command).*"> > RequestHeader set X-UMC-HTTPS %{HTTPS}s > ErrorDocument 503 "{\"status\": 503, \"message\": \"The Univention Management Console Web Server could not be reached. Please restart it or try again later.\"}" >diff --git a/management/univention-management-console-frontend/debian/univention-management-console-frontend.install b/management/univention-management-console-frontend/debian/univention-management-console-frontend.install >index 955793c..c973baa 100644 >--- a/management/univention-management-console-frontend/debian/univention-management-console-frontend.install >+++ b/management/univention-management-console-frontend/debian/univention-management-console-frontend.install >@@ -1,2 +1,3 @@ > usr/share/univention-management-console-frontend/* usr/share/univention-management-console-frontend/ > icons/univention-management-console.svg usr/share/univention-management-console-frontend/js/dijit/themes/umc/icons/scalable/ >+empty.json usr/share/univention-management-console-frontend/js/umc/modules/i18n/empty.json >diff --git a/management/univention-management-console-frontend/empty.json b/management/univention-management-console-frontend/empty.json >new file mode 100644 >index 0000000..0967ef4 >--- /dev/null >+++ b/management/univention-management-console-frontend/empty.json >@@ -0,0 +1 @@ >+{}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40242
: 7376