title: Can apache rewrite rules go in httpd.conf
body: <p>How do I create a simple apache rewrite rule to rewrite:</p>
  
  <p><a href="http://domain.com/vanity" rel="noreferrer">http://domain.com/vanity</a> to <a href="http://domain.com/foo/" rel="noreferrer">http://domain.com/foo/</a></p>
  
  <p>Also can rewrite rules go in httpd.conf or do they have to go in a .htaccess file?</p>
  
  <p>Thanks in advance.</p>