From 1cc0181326e4ff7d17b33c661e281c6277c6d188 Mon Sep 17 00:00:00 2001
From: Nilamdyuti Goswami <ngoswami@redhat.com>
Date: Wed, 8 Apr 2015 15:48:39 +0530
Subject: [PATCH] doc: Corrects rgw.conf file path for Debian-based and
 RPM-based distros in radosgw man page.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
---
 doc/man/8/radosgw.rst | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/doc/man/8/radosgw.rst b/doc/man/8/radosgw.rst
index d816e9c58a8..1f74dec6d0b 100644
--- a/doc/man/8/radosgw.rst
+++ b/doc/man/8/radosgw.rst
@@ -89,7 +89,9 @@ allow for the configuration with unix domain socket instead of localhost tcp.
 
 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
@@ -103,9 +105,9 @@ The following steps show the configuration in Ceph's configuration file i.e,
 	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
@@ -126,7 +128,7 @@ The following steps show the configuration in Ceph's configuration file i.e,
 
 		</VirtualHost>
 
-   CentOS/RHEL::
+   For CentOS/RHEL add in ``/etc/httpd/conf.d/rgw.conf``::
 
 		<VirtualHost *:80>
 		ServerName localhost
@@ -157,9 +159,9 @@ The following steps show the configuration in Ceph's configuration file i.e,
 	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