The following steps show the configuration in Ceph's configuration file i.e,
``/etc/ceph/ceph.conf`` and the gateway configuration file i.e,
-``/etc/httpd/conf.d/rgw.conf`` with localhost tcp and through unix domain socket:
+``/etc/httpd/conf.d/rgw.conf`` (RPM-based distros) or
+``/etc/apache2/conf-available/rgw.conf`` (Debian-based distros) with localhost
+tcp and through unix domain socket:
#. For distros with Apache 2.2 and early versions of Apache 2.4 that use
localhost TCP and do not support Unix Domain Socket, append the following
rgw frontends = fastcgi socket_port=9000 socket_host=0.0.0.0
rgw print continue = false
-#. Add the following content in ``/etc/httpd/conf.d/rgw.conf``:
+#. Add the following content in the gateway configuration file:
- Debian/Ubuntu::
+ For Debian/Ubuntu add in ``/etc/apache2/conf-available/rgw.conf``::
<VirtualHost *:80>
ServerName localhost
</VirtualHost>
- CentOS/RHEL::
+ For CentOS/RHEL add in ``/etc/httpd/conf.d/rgw.conf``::
<VirtualHost *:80>
ServerName localhost
log file = /var/log/radosgw/client.radosgw.gateway.log
rgw print continue = false
-#. Add the following content in ``/etc/httpd/conf.d/rgw.conf``:
+#. Add the following content in the gateway configuration file:
- CentOS/RHEL::
+ For CentOS/RHEL add in ``/etc/httpd/conf.d/rgw.conf``::
<VirtualHost *:80>
ServerName localhost