
Eu tenho um site wordpress e quando faço upload de uma imagem com nome francês como este (sécurité) meu servidor não encontra a imagem e o navegador retorna meu erro 404. Mas a imagem está no servidor.
Eu tento muitas coisas, mas nada funciona
1: eu adiciono isso no meuhttpd.conf
AddDefaultCharset on
AddDefaultCharset utf-8
2:
AddCharset UTF-8 .png
AddCharset UTF-8 .html
IndexOptions +Charset=UTF-8
3:
Eu tento alterar o idioma padrão do servidor no arquivo i18n para isso:
LANG=fr_FR.UTF-8
SUPPORTED="en_US.utf8:en_US:en:fr_FR.utf8:fr_FR:fr :es_ES.utf8:es_ES:es:de_DE.utf8:de_DE:de:sv_SE.utf 8:sv_SE:sv:zh_CN.utf8:
zh_CN:zh:zh_TW.utf8:zh_TW:zh:ja_JP.utf8:ja_JP:ja:k o_KR.utf8:ko_KR:ko"
4: tudo nesta página
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexoptions
no meu .htacces eu tenho isso:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>