Update url-rewriting.rst

just a small modification to the solution for users having apache2.4 and above as there is no httpd.conf in that version
Promoting directory listing using `Indexes` is a bad idea.