Attachments with umlauts inaccessable

Hi Team,

With our Confluence 4.0.4 we get a "file not found" error if we wan to access an attachement with german umlauts.

It turned out that it is definitely a proxy problem. After bypassing the proxy it works.

This is my proxy configuration.

<Proxy *>
Order deny,allow
Allow from all

ProxyRequests   Off
ProxyPreserveHost       On
ProxyPass               /confluence     http://localhost:9092/confluence
ProxyPassReverse        /confluence     http://localhost:9092/confluence
AddLanguage de .de
AddCharset UTF-8 .utf8
AddDefaultCharset utf-8
AddCharset UTF-8 .action

Any Ideas how to find the solution?



For the records I also checked the following:

1.Formatting and International Settings:
Indexing Language German
Encoding UTF-8

2. Tomcat URI Encoding in Server XML:

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="9092" minProcessors="5"
                   enableLookups="false" redirectPort="8445" acceptCount="10" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" URIEncoding="UTF-8"/>

DB connection URL:

3. Database Encoding
Database Encoding:

mysql> use confluence404
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> status
mysql  Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64) using readline 6.1

Connection id:		11916284
Current database:	confluence404
Current user:		hagenmanagement@
SSL:			Not in use
Current pager:		stdout
Using outfile:		''
Using delimiter:	;
Server version:		5.1.49-3 (Debian)
Protocol version:	10
Connection: via TCP/IP
Server characterset:	utf8
Db     characterset:	utf8
Client characterset:	latin1
Conn.  characterset:	latin1
TCP port:		3306
Uptime:			320 days 1 hour 28 min 58 sec

Threads: 120  Questions: 814570352  Slow queries: 649  Opens: 1225141  Flush tables: 1  Open tables: 1024  Queries per second avg: 29.456

7 answers

How about try to remove the following and then try again:

AddCharset UTF-8 .utf8

AddDefaultCharset utf-8

AddCharset UTF-8 .action

FYI, you should apply the same URIEncoding parameter as above to the AJP connector if you are using mod_jk, and add the following option to your Apache mod_jk configuration:

<Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8"/>
JkOptions +ForwardURICompatUnparsed

Probably set explicit AddDefaultCharset off to ensure your Vhost ist configured correctly (even it's the default value).

Related issue with mod_rewrite, fixed in Apache 2.2.12+:


unfortunatelly I haven't the solution of your problem but I have the same problem. Did you solve it yet?



No. We have the same Problem with an IIS Proxy. Without Proxy OK, with Proxy the files are inaccessible because special chars are not encoded properly.



I didn't solve this problem. So I had to build completly new one server with Confluence as a single server with dedicated MySQL. Now it is working.

Best regards


Are you using a proxy? Which technique are you using? Could you show me your server.xml file?




I'm using exactly the same configuration as in my previous server which wasn't working corretly.

So my Confluence is behind proxy created on Apache server and connected to the MySQL server. These servers are running on Win2008 server 64bit ENG.

Apache server configuration:

&lt;Proxy *&gt;
        Order deny,allow
        Allow from all

&lt;VirtualHost *:80&gt;
    ServerAdmin    admin@domain
    ServerName     confluence
    ErrorLog       "logs/confluence-error.log"
    CustomLog      "logs/confluence-access.log" common

    ProxyRequests  Off
    ProxyPreserveHost   On
    ProxyPass           /    http://localhost:8090/
    ProxyPassReverse    /    http://localhost:8090/
    &lt;location /&gt;
      Order deny,allow
      Allow from all

Then configuration on /conf/server.xml

&lt;Server port="8000" shutdown="SHUTDOWN" debug="0"&gt;
    &lt;Service name="Tomcat-Standalone"&gt;
        &lt;Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5"
                   enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" URIEncoding="UTF-8"/&gt;
        &lt;Engine name="Standalone" defaultHost="localhost" debug="0"&gt;
            &lt;Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false"&gt;
                &lt;Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"&gt;
                    &lt;Manager pathname="" /&gt;

And my setting from app_data/confluence/confluence.cfg.xml:

&lt;property name="hibernate.connection.url"&gt;jdbc:mysql://localhost/confluencedb?sessionVariables=storage_engine%3DInnoDB&amp;amp;useUnicode=true&amp;amp;characterEncoding=utf8&lt;/property&gt;

For the server I have DNS record 'confluence' and Apache doesn't serve any other web page.

Let me know if you will need any other configuration detail. But I'm afrait it doesn't help you because this configuration is the same as on my previous server where it doesn't work correctly.

Best regards and good luck.



Tomas, thanks a lot for the detailed information!

Maybe Apache has a higher version-number on the new server?

Is it still possible to track that?

Best regards,


Hi Philipp,

it's true. Now I'm using these softwares:


On my previous server it was:


But during the testing I had the same configuration on my another new one server where it was working even with the same versions. At the end I used the latest versions.

I spent a lot of time and power to try to solve this problem and I can say that my time is more expensive then the new one server. At the end I have the new one server dedicated just for Confluence and I'm happy with that.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,094 views 56 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you