Re: [ceph-users] Migrating RGW from FastCGI to Civetweb

2017-07-12 Thread Roger Brown
SOLVED! S3-style subdomains work now! In summary, to cutover from apache to civetweb without breaking other sites on the same domain, here are the changes that worked for me: /etc/ceph/ceph.conf: # FASTCGI SETTINGS #rgw socket path = "" #rgw print continue = false #rgw frontends = fastcgi socket_

Re: [ceph-users] Migrating RGW from FastCGI to Civetweb

2017-07-12 Thread Richard Hesketh
Oh, correcting myself. When HTTP proxying Apache translates the host header to whatever was specified in the ProxyPass line, so your civetweb server is receiving requests with host headers for localhost! Presumably for fcgi protocol it works differently. Nonetheless ProxyPreserveHost should solv

Re: [ceph-users] Migrating RGW from FastCGI to Civetweb

2017-07-12 Thread Richard Hesketh
Best guess, apache is munging together everything it picks up using the aliases and translating the host to the ServerName before passing on the request. Try setting ProxyPreserveHost on as per https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost ? Rich On 11/07/17 21:47, Rog

Re: [ceph-users] Migrating RGW from FastCGI to Civetweb

2017-07-11 Thread Roger Brown
Thank you Richard, that mostly worked for me. But I notice that when I switch it from FastCGI to Civitweb that the S3-style subdomains (e.g., bucket-name.domain-name.com) stops working and I haven't been able to figure out why on my own. - ceph.conf excerpt: [client.radosgw.gateway] host

Re: [ceph-users] Migrating RGW from FastCGI to Civetweb

2017-07-11 Thread Richard Hesketh
On 11/07/17 17:08, Roger Brown wrote: > What are some options for migrating from Apache/FastCGI to Civetweb for > RadosGW object gateway *without* breaking other websites on the domain? > > I found documention on how to migrate the object gateway to Civetweb > (http://docs.ceph.com/docs/luminous

[ceph-users] Migrating RGW from FastCGI to Civetweb

2017-07-11 Thread Roger Brown
What are some options for migrating from Apache/FastCGI to Civetweb for RadosGW object gateway *without* breaking other websites on the domain? I found documention on how to migrate the object gateway to Civetweb ( http://docs.ceph.com/docs/luminous/install/install-ceph-gateway/#migrating-from-apa