I've just purchased JFileUpload and I'm trying to make it work.
My ProFTPd server has mod_rewrite activated, cf. proftpd.conf file :
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap replace int:replaceall
RewriteRule ^(.*) "${replace:/$1/ /_}"
RewriteRule ^(.*) "${replace:/$1/à/a}"
RewriteRule ^(.*) "${replace:/$1/Ã /a}"
RewriteRule ^(.*) "${replace:/$1/À/A}"
RewriteRule ^(.*) "${replace:/$1/À/A}"
...
(whereas this mod_rewrite function works perfectly when I upload the file with a standard FTP client like Filezilla)
For exemple a "ob cà5928.jpg" file, instead of becoming "ob_ca5928.jpg" on the server, becomes "ob_c"
How can I make mod_rewrite fully work with JFileUpload ?
Thanks in advance.