mod_rewrite will allow us to rewrite the requested URLs on the fly, which will help us build an application with clean URLs. The rewriting itself is handled in another Apache configuration file called
.htaccess, which we will touch on in Chapter 4, Starting Your Application. In the following section, we'll configure Apache, so that
mod_rewrite is enabled.
httpd.confin your text editor.
#LoadModule rewrite_module libexec/apache2/mod_rewrite.so