title: Primefaces <p:graphicimage> giving 404 while using apache httpd mod-rewrite
body: <p>I created a simple application with a single jsp file and used primefaces, Here is the code</p>
  
  <p><strong>index.jsp:</strong></p>
  
  <pre><code> &lt;%@ page session="false" contentType="text/html;charset=utf-8" %&gt;
   &lt;%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %&gt;
   &lt;p:graphicImage value="/image/Kitty.gif"/&gt;
  </code></pre>
  
  <p>httpd.conf:</p>
  
  <pre><code> &lt;VirtualHost localhost:80&gt;
     ProxyPass /sayHello http://localhost:8080/sayHello
     ProxyPassReverse /sayHello http://localhost:8080/sayHello
   &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>If i run the application directly (http://localhost:8080/sayHello) the image is displaying
  but if i run it by using apache (http://localhost/sayHello) it fails. I also tried manually hitting the generated URL and i believe Apache is not redirecting it. </p>