
Tengo un sitio de WordPress y cuando subo una imagen con un nombre francés como este (sécurité), mi servidor no encuentra la imagen y el navegador me devuelve un error 404. Pero la imagen está en el servidor.
Intento muchas cosas pero nada funciona.
1: agrego esto en mihttpd.conf
AddDefaultCharset on
AddDefaultCharset utf-8
2:
AddCharset UTF-8 .png
AddCharset UTF-8 .html
IndexOptions +Charset=UTF-8
3:
Intento cambiar el idioma predeterminado del servidor en el archivo i18n para esto:
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: todo en esta página
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexoptions
en mi .htaccess tengo esto:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>