title: hashtag in apache .htaccess
body: <p>By using the following .htaccess</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([0-9]+)/([0-9]+)$ /api/web/index.html#$1/$2 [R=301,NC,L]
  </code></pre>
  
  <p>When user types the following URL at their browser.</p>
  
  <pre><code>http://localhost:8080/1/2
  </code></pre>
  
  <p>I'm expecting, Apache will perform internal redirection, and change the displayed URL at browser too (through R=301).</p>
  
  <pre><code>http://localhost:8080/api/web/index.html#1/2
  </code></pre>
  
  <p>Changing the displayed URL at browser is important. This is to ensure <code>index.html</code>'s JavaScript can parse the url correctly.</p>
  
  <p>However, what I really get is</p>
  
  <pre><code>http://localhost:8082/api/web/index.html%231/2
  </code></pre>
  
  <p>I will get Apache error. </p>
  
  <p>Apache false thought that, I wish to fetch a file named <code>2</code> located in directory <code>api/web/index.html%231/</code></p>
  
  <p>Is there anything I can solve this through modifying <code>.htaccess</code> only?</p>