On 5/15/14 15:01 , Andrei Mikhailovsky wrote:
Yehuda,
what do you mean by the rewrite rule? is this for Apache? I've used
the ceph documentation to create it. My rule is:
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*)
/s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Or are you talking about something else?
Cheers
Andrei
------------------------------------------------------------------------
*From: *"Yehuda Sadeh" <yeh...@inktank.com>
*To: *"Andrei Mikhailovsky" <and...@arhont.com>
*Cc: *ceph-users@lists.ceph.com
*Sent: *Thursday, 15 May, 2014 4:05:06 PM
*Subject: *Re: [ceph-users] Problem with radosgw and some file name
characters
Your rewrite rule might be off a bit. Can you provide log with 'debug
rgw = 20'?
Yehuda
The RewriteRule you're using tells Apache to only send URLs with
AlphaNumeric characters to the FastCGI gateway. You'll only see those
errors in the Apache logs, not the RadosGW logs. I assume the old rule
was an attempt at armoring the system against invalid inputs, but caused
more harm than good.
Yehuda's new rule:
RewriteRule ^/(.*) /s3gw.3.fcgi?%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Will send all requests to the FastCGI module, regardless of the ASCII
characters in use. I can't vouch for Unicode support though.
--
*Craig Lewis*
Senior Systems Engineer
Office +1.714.602.1309
Email cle...@centraldesktop.com <mailto:cle...@centraldesktop.com>
*Central Desktop. Work together in ways you never thought possible.*
Connect with us Website <http://www.centraldesktop.com/> | Twitter
<http://www.twitter.com/centraldesktop> | Facebook
<http://www.facebook.com/CentralDesktop> | LinkedIn
<http://www.linkedin.com/groups?gid=147417> | Blog
<http://cdblog.centraldesktop.com/>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com