title: How to config apache proxy to serve hexo's static file
body: <p>I use apache proxy to get my hexo blog site.</p>
  
  <pre><code>ProxyPass /blog http://127.0.0.1:4000/
  ProxyPassReverse /blog http://127.0.0.1:4000/
  </code></pre>
  
  <p>But apache can not serve hexo static files(css,js,images) properly.
  I have to Rewrite the static file url like below:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^/js/(.+)$ /blog/js/$1 [R]
  RewriteRule ^/css/(.+)$ /blog/css/$1 [R]
  RewriteRule ^/fancybox/(.+)$ /blog/fancybox/$1 [R]
  </code></pre>
  
  <p>When i change a theme, i have to rewrite those rewriterules.
  Is there a simple way to solve this?.</p>