title: Trailing slashes problem
body: <p>When I type this "<a href="http://example.com/Hello%20There/" rel="nofollow noreferrer">http://example.com/Hello%20There/</a>" , it displays the
  index page wich is : "<a href="http://example.com/Hello%20There/index.html" rel="nofollow noreferrer">http://example.com/Hello%20There/index.html</a>" .</p>
  
  <p>Well, what I want to do is when the user types "<a href="http://example.com/Hello%20There" rel="nofollow noreferrer">http://example.com/Hello%20There</a>" 
  (so like the first one except it doesn't have a trailing slash).</p>
  
  <p>I tried many things and specially regular expressions, but nothing works because I think
  that the server stops the reg exp process when he finds a space ("%20" in the URL).</p>
  
  <p>I tried this reg exp:</p>
  
  <pre><code>Options +FollowSymLinks 
  rewriteEngine On rewriteCond %{REQUEST_URI} ^(.*)\ (.*html)$ 
  rewriteRule ^.*$ %1-%2 [E=space_replacer:%1-%2] 
  rewriteCond %{ENV:space_replacer}!^$ 
  rewriteCond %{ENV:space_replacer}!^.*\ .*$ 
  rewriteRule ^.*$ %{ENV:space_replacer} [R=301,L] 
  </code></pre>
  
  <p>and also put: </p>
  
  <pre><code>DirectorySlash On 
  </code></pre>
  
  <p>in the "mod_dir" module of Apache.</p>
  
  <p>So, my question is:
  - How to tell to the server to add a trailing slash when the user types an url
  without a trailing slash;$</p>