title: Apache web server doesn't allow me to refresh on /about but on localhost its working fine
body: <p>I bundled up one of my projects and it works fine. However when hitting refresh on a route /about, it displays The requested URL /about was not found on this server.. However when I do it on my localhost off a web server it works fine on refresh and forward/back buttons. I'm using react-router for my client side routing. </p>
  
  <p><strong>Heres the client side routing but I doubt its the problem</strong></p>
  
  <pre><code> Router.run(routes, Router.HistoryLocation, function (Handler) {
      React.render(&lt;Handler/&gt;, app);
   });
  </code></pre>
  
  <p>And my routes are just there:</p>
  
  <pre><code>let routes = (
  &lt;Route&gt;
    &lt;Route name = "App" path="/" handler = {App}&gt;
      &lt;Route name="About" path="/about" handler = {About}/&gt;
      &lt;DefaultRoute name="Projects" handler = {Projects}/&gt;
    &lt;/Route&gt;
  &lt;/Route&gt;
          );
  </code></pre>
  
  <p><strong>Heres the APACHE that I think i broke:</strong></p>
  
  <pre><code>&lt;Directory /var/www/&gt;
                  # This directive allows us to have apache2's default start page
                  # in /apache2-default/, but still have / go to the right place
  Require all granted
                  #RedirectMatch ^/$ /apache2-default/
          &lt;/Directory&gt;
  </code></pre>
  
  <p><strong>kkotwal.me.conf:</strong></p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          # The ServerName directive sets the request scheme, hostname and port that
          # the server uses to identify itself. This is used when creating
          # redirection URLs. In the context of virtual hosts, the ServerName
          # specifies what hostname must appear in the request's Host: header to
          # match this virtual host. For the default virtual host (this file) this
          # value is not decisive as it is used as a last resort host regardless.
          # However, you must set it for any further virtual host explicitly.
          #
          ServerName kkotwal.me
          ServerAlias www.kkotwal.me
          ServerAdmin webmaster@localhost
          DocumentRoot /var/www/kkotwal.me/public_html
  
          # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
          # error, crit, alert, emerg.
          # It is also possible to configure the loglevel for particular
          # modules, e.g.
          #LogLevel info ssl:warn
  
          ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>